From MATLAB to Embedded C
Generate C code directly from MATLAB algorithms
- Overview
- Demos
- Using Embedded MATLAB Code
- Supported MATLAB Features and Functions
- Products That Work with the Embedded MATLAB Subset
- User Testimonials
- Documentation
Embedded MATLAB® enables you to generate C code automatically from MATLAB® and include MATLAB algorithms in Simulink® models for efficient system simulation and code generation. A subset of the MATLAB language, Embedded MATLAB supports C-code generation for embedded algorithms and systems. It consists of more than 300 operators and functions from MATLAB, 110 functions from Fixed-Point Toolbox™, and 40 functions from Signal Processing Toolbox™.
Key Features for MATLAB Users
By using MATLAB code written with the Embedded MATLAB subset, you can automatically generate C code directly from MATLAB for embedded software prototyping and implementation. You can also:
- Use MATLAB and Fixed-Point Toolbox™ to develop embeddable floating-point and fixed-point algorithms and run simulations at compiled C speed
- Use Real-Time Workshop® to automatically generate C code directly from MATLAB functions
Related products: MATLAB, Fixed-Point Toolbox, Real-Time Workshop
Key Features for Simulink Users
Simulink users can include Embedded MATLAB code within models for system simulation and for embedded C and HDL code generation. Within the Simulink product family, you can:
- Include embedded-ready MATLAB code in Simulink models
- Use Real-Time Workshop to generate C code from Simulink models containing MATLAB code
- Use Simulink HDL Coder™ to generate synthesizable Verilog® and VHDL® from Simulink models containing MATLAB code
Related products: Simulink, Real-Time Workshop, Simulink HDL Coder
Store


