configurePin
R2026bSet Arduino pin mode
Description
Add-On Required: This feature requires the MATLAB Support Package for Arduino Hardware add-on.
Examples
Input Arguments
Output Arguments
More About
Alternative Functionality
App
Use the Pin Explorer pane and Pin Configuration panel in the Arduino Explorer to configure each pin to read and write data interactively in MATLAB and MATLAB Online™. In the Pin Explorer pane, click the row corresponding to the pin that you want to configure. The Pin Configuration panel displays the options you can use to configure the selected pin. In the Pin Configuration panel, select the Mode from the list, and if required specify a Label to uniquely identify the pin. For more information, see.
Version History
Introduced in R2015b
See Also
arduino | readVoltage | readDigitalPin | writeDigitalPin | Arduino
Explorer