Arduino (www.arduino.cc) is a low-cost open-source electronics prototyping platform based on flexible, easy-to-use hardware and software.
Embedded Coder Support Package for Arduino allows you to create Simulink applications that will run autonomously on your Arduino board. Using Simulink Coder and Embedded Coder, the Simulink model is automatically converted to readable C code, compiled, and downloaded to the Arduino. You can:
* View the generated code
* Modify and reuse the generated code if needed
* Use Processor-in-the-loop (PIL) mode
* Use Embedded Coder features such as traceability and reporting.
Note: This support package does not support External mode
The support package comes with the following driver blocks:
* Digital Input
* Digital Output
* Analog Input
* Analog Output
* Serial Read
* Serial Write
It also comes with sample models demonstrating:
* Processor-in-the-loop (PIL) mode
* Serial communication with a host, and
* Use of Stateflow
For interfacing to the Arduino from MATLAB, see:
This package has been tested with R2010b, R2011a, and R2011b (Windows only). See README.txt for product requirements.