Because MATLAB is a high level interpreted language, you can see results from I/O instructions immediately, without compiling. MATLAB includes thousands of built-in math, engineering, and plotting functions that you can use to quickly analyze and visualize data collected from your Arduino.
Learn more about Arduino programming with MATLAB and Simulink.
|Arduino Board||Shield Support||Comments|
|Arduino Due*||Y||DAC and CAN channels not currently supported.|
|Arduino Mega 2560*||Y|
|Arduino Mega ADK*||Y|
|N||Mini with ATmega168 not supported.|
|Arduino Nano 3.1*||N||Nano 2.X not supported. Other Nano 3.X not tested but expected to work.|
|N||Pro with ATmega168 not supported.|
|Arduino Pro Mini
|N||Pro Mini with ATmega168 not supported.|
|Sparkfun Digital Sandbox||N|
|Adafruit Motor Shield V2||See Shield Support column for compatibility.|
Available on 64-bit Microsoft® Windows®, 64-bit Mac OS, and 64-bit Linux®.
This support package is available for R2014a and later releases. Learn more about Arduino support from MATLAB and Simulink across releases.
Ask a question or share your files with the MATLAB community.
Before installing the support package, confirm you have the correct setup. View system requirements and installation options.
Support Package Installer installs this support package and all required third-party software. To start the installer, go to the MATLAB toolstrip and click Add-Ons > Get Hardware Support Packages. For more information, read the documentation.