Generate C and C++ code optimized for embedded systems

Embedded Coder® generates readable, compact, and fast C and C++ code for use on embedded processors, on-target rapid prototyping boards, and microprocessors used in mass production. Embedded Coder enables additional MATLAB Coder and Simulink Coder configuration options and advanced optimizations for fine-grain control of the generated code’s functions, files, and data. These optimizations improve code efficiency and facilitate integration with legacy code, data types, and calibration parameters used in production. You can incorporate a third-party development environment into the build process to produce an executable for turnkey deployment on your embedded system.

Embedded Coder offers built-in support for AUTOSAR and ASAP2 software standards. It also provides traceability reports, code interface documentation, and automated software verification to support DO-178, IEC 61508, and ISO 26262 software development.

Learn more about MathWorks support for certification in automotive, aerospace, and industrial automation applications.

10 Best Practices for Deploying AUTOSAR Using Simulink


Working with Targets

Configure code generation settings.

Learn more

Selecting Targets

Use configuration objects and system target files to translate models into production-quality source code and executables.

Learn more

Working with Custom Data

Define and control how the model data appears in generated code.

Learn more

Optimizing and Packaging Code

Control function boundaries, preserve expressions, and apply optimizations on multiple blocks to further reduce code size.

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

Incorporate generated code into your code execution environment.

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.

System Requirements

View system requirements for the latest release of Embedded Coder.

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.

Community and Support

Find answers to questions and explore troubleshooting resources.

Hardware Support

Connect Embedded Coder to hardware platforms.

Production Code Generation Evaluation Kit

Learn about the code generation process using Simulink and Embedded Coder with the Eclipse IDE™

Try or Buy

Get a Free Trial

Test drive Embedded Coder.

Get a trial

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, MATLAB Coder

Related Solutions

Use Embedded Coder to solve scientific and engineering challenges:

News and Events

Production Code Evaluation Kit