Generate C and C++ code optimized for embedded systems

Embedded Coder® generates readable, compact, and fast C and C++ code for embedded processors used in mass production. It extends MATLAB Coder™ and Simulink Coder™ with advanced optimizations for precise control of the generated functions, files, and data. These optimizations improve code efficiency and facilitate integration with legacy code, data types, and calibration parameters. You can incorporate a third-party development tool to build an executable for turnkey deployment on your embedded system or rapid prototyping board.

Embedded Coder offers built-in support for AUTOSAR, MISRA C®, and ASAP2 software standards. It also provides traceability reports, code documentation, and automated software verification to support DO-178, IEC 61508, and ISO 26262 software development. Embedded Coder code is portable, and can be compiled and executed on any processor. In addition, Embedded Coder offers support packages with advanced optimizations and device drivers for specific hardware.

10 Best Practices for Deploying AUTOSAR Using Simulink


Configuring for Code Generation

Use Embedded Coder Quick Start to jumpstart production code generation from Simulink®.

Learn more

Selecting Targets

Use hardware support packages to quickly deploy generated code on embedded devices.

Learn more

Working with Custom Data

Use Embedded Coder Dictionary to define and control how the models and data appear in generated code.

Learn more

Optimizing and Packaging Code

Optimize code to reduce code size and increase speed, and specify code interfaces and files.

Learn more

Commenting, Tracing, and Documenting Code

Examine generated code for your MATLAB® files and functions or your Simulink models and subsystems.

Learn more

Executing and Verifying Code

Plug generated code into your code execution environment, and automate verification.

Learn more

Product Resources

Discover more about Embedded Coder by exploring these resources.


Explore documentation for Embedded Coder functions and features, including release notes and examples.


Browse the list of available Embedded Coder functions.


View a Simulink library of blocks that Embedded Coder supports.

Technical Articles

View articles that demonstrate technical advantages of using Embedded Coder.

User Stories

Read how Embedded Coder is accelerating research and development in your industry.

Product Requirements

View product requirements for the latest release of Embedded Coder.

Hardware Support

Connect Embedded Coder to hardware platforms.

Get Started

Ready to Buy?

Purchase Embedded Coder and explore related products.

Contact sales
Pricing and licensing

Have Questions?


Contact Tom Erkkinen,
Embedded Coder Technical Expert

Email Tom

Embedded Coder requires: MATLAB Coder, MATLAB

Related Solutions

Use Embedded Coder to solve scientific and engineering challenges:

News and Events

Production Code Evaluation Kit