Raspberry Pi IO Control Utility

Test or Control Raspberry Pi IO pins with this Matlab GUI

You are now following this Submission

Setup the Raspberry Pi to work with Matlab. Check out the Matlab Hardware Support Package documentation. This GUI based program will automatically connect to the Raspberry Pi if already configured. It shows the Pin logic values in color. The Pin headers P1 and P5 are shown exactly as on the Raspberry Pi. Additionally, it shows the actual location of the Pin Header on the Raspberry Pi. Pin direction can be set to INPUT or OUTPUT by clicking on the side buttons. Directly clicking on the Pins will change the status on the Raspberry Pi. Pin statuses are shown live.
NB: This program is updated to work with all current Raspberry Pi models. But, didn't check all models as I didn't have all boards. Suggest you to report any errors so that we can fix.

Cite As

Shamnad (2026). Raspberry Pi IO Control Utility (https://ch.mathworks.com/matlabcentral/fileexchange/46547-raspberry-pi-io-control-utility), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.0.0.0

Minor Fix
Updated to work with all Raspberry Pi Models.

1.2.0.0

Won't work with Raspberry Pi Model B+

1.1.0.0

Included SPI and I2C switching functionality.

1.0.0.0