Use configurePin in a MATLAB® Function block with the Simulink® Support Package for Arduino Hardware to generate code that can be deployed on Arduino Hardware.
Configure the Arduino peripherals using configurePin before
using it in the MATLAB Function block.
The function does not return any output during code generation.
The following modes are currently supported for code generation :
AnalogInput, DigitalInput,
DigitalOutput, Pullup,
PWM, and Unset.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.