Is Arduino® supported in releases prior to R2012a?

1 view (last 30 days)
I would like to develop algorithms to run on an Arduino board. Is this supported in releases prior to R2012a?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 29 Mar 2024 at 0:00
Edited: MathWorks Support Team on 29 Mar 2024 at 10:23
Arduino is supported in current and previous MathWorks releases. It is recommended to move to the latest release if at all possible, as that will generally be the most capable and robust offering from MathWorks.
Several workflows are available as noted below.
Run on Target Hardware
• As of R2013a, Simulink provides built-in support for the Arduino Uno and Mega 2560.
• Feature information:
• You can install the support package from within MATLAB using Add-On Explorer. From the MATLAB Toolstrip (R2013a and later): go to Home > Resources > Add-Ons > Get Hardware Support Packages
Embedded Coder Support Package for Arduino Hardware
• Support for deploying Simulink applications to an Arduino Uno, Mega and Duemilanove
• Requires a separate downloadable package
• Blocks supported for code generation, simulation and processor-in-the-loop (PIL).
• Support package uses the Arduino as an example production code target
• Available for and tested on R2010b to R2011b
• Required Products:
1. for R2010b: Real Time Workshop Embedded Coder, Target Support Package
2. for R2011a to R2011b: Embedded Coder
• Windows platform only (either 32-bit or 64-bit)
• Tested with
1. Arduino Uno
2. Arduino Duemilanove (ATmega168 or ATmega328p)
3. Arduino Mega (ATmega1280)
• Requires Arduino IDE version 20, 21, 22 or 23. Does not work with Arduino IDE 1.0 (list of IDEs)
MATLAB Support Package for Arduino
• Support for host-based communication with an Arduino Uno, Mega and Duemilanove over a serial port.
• Requires a separate downloadable package
• Also includes Simulink blocks for host-based communication. These blocks are not supported for code generation.
• Available for and tested on R2010a to current release
• Supported on all Platforms
• Requires Arduino IDE, version 20 or later (list of IDEs)
• Tested with
1. Arduino Uno
2. Arduino Duemilanove
3. should also work with other boards
• For more information see:
  1 Comment
Walter Roberson
Walter Roberson on 31 Aug 2018
No. The Due was released in October 2012, after r2012b was released. I would not expect any Due support before R2013a.

Sign in to comment.

More Answers (0)

Products


Release

R2012a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!