File Exchange

image thumbnail

Embedded Coder Support Package for ARM Cortex-M Processors

Generate code optimized for Cortex-M processors.


Updated 28 Apr 2020

Editor's Note: This support package is currently unable to download third-party software for MATLAB R2017a and earlier versions. For details and workaround, see this Bug Report.

MATLAB R2017b and later versions are unaffected.

Embedded Coder® Support Package for ARM® Cortex®-M Processors lets you generate optimized code for math operations using the CMSIS library. Use this generated code for ARM Cortex-M processors. For DSP filter support, use ARM Cortex-M CMSIS Library Support from DSP System Toolbox™.

This support package is functional for R2013b and beyond.

If you have download or installation issues, please contact Technical Support:

Note for Linux users:
This support package downloads and uses the GNU Tools for ARM Processors third-party application. This 32-bit embedded application requires the libc6-i386 package to run on a 64-bit Linux platform. Without the libc6-i386 package, compilation of MathWorks generated code fails.
To install the libc6-i386 package on Ubuntu and Debian, type this example command in the Linux terminal:
sudo apt-get install libc6:i386
MATLAB R2018b and later versions are unaffected.

Comments and Ratings (21)

those who has download issues even in China, try using the internet cable not the Wi-Fi

jack chen

feng wei

feng wei

Hard to download through Chinese network.And while I use vpn to load this it is always failed.


Hard to download through Chinese network, stuck on downloading 3rd party software and fail.
Help fix Chinese network access isuse please.


I want to have Trial versions of:
Simulink Coder;
Embedded Coder.

Could you help please?

zhiwei guo

Hi Fernando,

Please do mention the version of the MATLAB you are working with.


Hi Embedded Coder Team!

Greetings from Argentina!

I'm trying to install the ' Embedded Coder Support Package for STMicroelectronics Discovery Boards '.

From the ' Add-on explorer ', if I try to install on-line or even if I try to download it to install off-line later, always a pop-up windows appears with an error message with the following information:

Download Error

There was a problem downloading the third-party software. To resolve this issue contact Technical Support.

I'm working with a ASUS X455LX Notebook, Intel Core i5-4210U, 2.7 Ghz -with Windows 10 last upgrade. Some description of other software installed are Keil ARM MDK last version, System Workbench for STM32, STM32 Cube MX, STM32 ST-Link Utility.

Please, How could I install this package -also the ' Embedded Coder Support Package for ARM Cortex-M Processors '? Even if I need install third-party software manually in the folders you know must be created and installed.

I'll appreciate every kind of support, suggestions, and sincerely I'll answer any kind of question you need to know for a final successful installation.

fernando maldonado

Lion Liu

Mehmet SEN


Jamie Haas

This is not possible. The Embedded Coder Support Package for ARM Cortex-M was first released in 13b, and it relies on Embedded Coder features in 13b, so it can’t be used in earlier releases.


iam using matlab 2012 how can i add this support package .

MATLAB Release Compatibility
Created with R2014a
Compatible with R2014a to R2020a
Platform Compatibility
Windows macOS Linux