Hardware Support

ARM Cortex-M Support from Embedded Coder

Generate code optimized for Cortex-M processors

MATLAB Coder™, Simulink Coder™, and Embedded Coder® generate ANSI®/ISO® C/C++ code that can be compiled and executed on ARM® Cortex®-M processors. Embedded Coder lets you easily configure the code generated from MATLAB® and Simulink® algorithms to control software interfaces, optimize execution performance, and minimize memory consumption.

The ARM Cortex-M processor families compatible with Embedded Coder ANSI/ISO C-code generation include:

Cortex– M7

In addition to ANSI/ISO C, Embedded Coder provides processor-optimized code for the above ARM Cortex-M processors using Cortex Microcontroller Software Interface Standard (CMSIS) for basic math operations. You can perform code verification using PIL tests using the supported ARM Cortex-M compiler and debugger. When the DSP System Toolbox™ support package for ARM Cortex-M is installed, you can generated optimized code for select CMSIS DSP libraries using equivalent DSP System Toolbox filters in Simulink such as FIR and FFT. Furthermore, with the Embedded Coder support package for STMicroelectronics® STM32F4-Discovery board, on-target rapid prototyping of Simulink models using the board’s peripheral devices and timers can be performed. This enables a full workflow for Model-Based Design of STMicroelectronics Discovery board. For an example, refer to Verify FIR Filter on ARM Cortex-M Processor.

TI C2000 Concerto™ F28M3x 32-bit microcontrollers (MCU), based on dual core of combining an ARM® Cortex®-M3™ core with a TI C2000’s C28x, is available as a separate support package download. You can also use Embedded Coder to create your own ARM-based board support and customizations for additional devices using published APIs and reference examples.

Embedded Coder hardware support packages offer built-in support for specific hardware, schedulers, and compilers. MathWorks Consulting Services is available to help with extensions to other environments. 

Platform and Release Support

See the hardware support package system requirements table for current and prior version, release, and platform availability.

View enhancements and bug fixes in release notes.

Related Hardware Support Views: ARM, Automotive, Control Systems, C ∕ C++ Code Generation, Digital Signal Processing, Embedded Coder, Embedded Systems, IEC 61508, Industrial Automation and Machinery, ISO 26262, MathWorks Supported, MATLAB Product Family, Medical Devices, Power Electronics Control Design, Simulink Product Family, STMicroelectronics, Support Package Installer Enabled

Ready to install?

Before installing the support package, confirm you have the correct setup. View system requirements and installation options.

Get support package




Support Package


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.

Get support package



Supported ARM Cortex-M Processors



Supported Version of The ARM Cortex Microcontroller Software Interface Standard (CMSIS)

Don't see the hardware you're looking for?