Matlab GPIO pins

Does anyone have experience with Matlab and Jetson devices? There seems to be tons of tutorials on deploying neural networks from Matlab to Jetson, yet I can’t find any information on how to extract GPIO information to matlab. Are there any read/write functions supported for the jetson?

1 Like

Hi adecenzo24, there isn’t a Jetson GPIO library explicitly created for Matlab. You could try calling the Jetson.GPIO Python library from Matlab.

Alternatively, you could use Matlab’s file reading/writing functions to interface with the GPIO device files under /sys/class/gpio - this is the normal interface for other programming languages. See these resources about using these device files found under /sys/class/gpio: