Open Block Library for Arduino Hardware
You can open the block library for your Arduino® hardware from the MATLAB® Command Window or from the Simulink® Library Browser.
The blocks in this block library provide support for various peripherals available on the Arduino hardware.
From the Command Line
After installing support for your Arduino hardware, you can open its block library from the MATLAB Command Window.
After installing support for Arduino hardware, enter:
arduinorootlib
The software opens the corresponding block library.
From the Simulink Library Browser
To open the block library from the Simulink Library Browser, enter simulink
in the MATLAB Command Window and then click the following icon on the MATLAB toolbar:
In the Simulink Library Browser, click Simulink Support Package for Arduino Hardware > Common.
The Simulink Library Browser displays the corresponding block library.
In the Simulink Library Browser, click Simulink Support Package for Arduino Hardware >Ethernet Shield.
The Simulink Library Browser displays the corresponding block library.
In the Simulink Library Browser, click Simulink Support Package for Arduino Hardware > WiFi.
The Simulink Library Browser displays the corresponding block library.
In the Simulink Library Browser, click Simulink Support Package for Arduino Hardware > Utilities.
The Simulink Library Browser displays the corresponding block library.
In the Simulink Library Browser, click Simulink Support Package for Arduino Hardware > Sensors.
The Simulink Library Browser displays the corresponding block library.
In the Simulink Library Browser, click Simulink Support Package for Arduino Hardware > Arduino Motor Carrier.
The Simulink Library Browser displays the corresponding block library.
In the Simulink Library Browser, click Simulink Support Package for Arduino Hardware > Advanced > SAMD.
The Simulink Library Browser displays the corresponding block library.