Arduino (www.arduino.cc) is a low-cost open-source electronics prototyping platform based on flexible, easy-to-use hardware and software.
With R2012a, Simulink provides built-in support for prototyping, testing, and running models on Arduino Mega 2560. You can design algorithms in Simulink for control systems and robotics applications, and see them perform with hardware.
To install support for Arduino Mega 2560, type "targetinstaller" in the MATLAB Command Window.
In the Target Installer that opens, do one of the following:
• If you have not downloaded the support package, choose "Internet". Target Installer automatically downloads a support package and installs it.
• If you have already downloaded the support package, choose "Folder". Then specify the location of this support package. Target Installer installs this support package.
Simulink support for Arduino® Mega 2560 includes the following driver blocks:
• Digital Input and Output
• Analog Input and Output
• Serial Receive and Transmit
• Servo Read and Write
This FileExchange entry is for R2012a support.
For more details about the Simulink Arduino® support, see:
For additional Simulink built-in support for hardware, see