File Exchange

image thumbnail

Port the Generated ARM Cortex-M CRL Code from MATLAB to IAR Embedded Workbench

version (814 KB) by Hong Ye
MATLAB-to-C workflow example on IAR Embedded Workbench®.


Updated 01 Sep 2016

View License

The DSP System Toolbox™ Support Package for ARM® Cortex®-M Processors, when paired with Embedded
Coder®, enables you to generate optimized C code from MATLAB® System objects™ or Simulink® blocks.
This is done for ARM Cortex-M processor-based systems using the Cortex Microcontroller Software
Interface Standard (CMSIS) library. Benefits include an immediate increase in performance when
compared to standard C code generation.
The generated code optimization is provided via Code Replacement Library (CRL) for CMSIS functions,
including math operations such as abs, add, sub and mult, and DSP algorithms such as FIR, FFT and IFFT .
The CRL for CMSIS is supported in both Simulink-to-C and MATLAB-to-C workflows on all MathWorks
supported hardware platforms. As an example of MATLAB-to-C workflow, the white paper illustrates how to port the generated C code from MATLAB (R2014b) to IAR Embedded Workbench®.

Comments and Ratings (0)


Updated license

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux