Documentation Center

  • Trials
  • Product Updates

Contents

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, or 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 Shield.

The Simulink Library Browser displays the corresponding block library.

Was this topic helpful?