What Is Embedded Coder?
Embedded Coder generates readable, compact, and fast C and C++ code for embedded processors used in mass production. It offers advanced optimization when generating code to improve code efficiency and facilitate integration with legacy code, data types, and calibration parameters.
Embedded Coder has built-in support for a wide variety of standards, including AUTOSAR, MISRA C and ASAP2. It also provides traceability reports, code documentation, and automated software verification to support DO-178, IEC 61508, and ISO 26262 software development.
Published: 26 Aug 2011
Embedded Coder generates C and C++ code optimized for embedded systems by extending the capabilities offered by MATLAB Coder™ and Simulink Coder™.
The generated code is ANSI and ISO C compliant, so it can run on virtually any fixed- or floating-point device and is particularly well suited for applications that need to minimize memory usage or maximize speed.
You can replace the default code output with target-specific optimizations and customizations using code replacement libraries as shown here, or by using the legacy code tool.
Embedded Coder lets you review and navigate from the model to its generated code, and back again using code reports with traceability links.
You can verify that the code execution matches model simulation results using software-in-the-loop and processor-in-the-loop testing. SIL and PIL tests can also include code coverage analysis and execution profiling.
To generate code, establish your objectives using the Code Generation Advisor. For example, you may want code optimized for speed but not at the expense of MISRA-C compliance.
Additional options let you target an AUTOSAR environment, or generate C++ with class definitions. You can also control function call interfaces and data definitions by changing their default values.
Embedded Coder comes with example integrations to popular IDEs, real-time operating systems, run-time environments, and embedded processors; plus, it offers the APIs and tools you need to create your own custom environment.
For more information on Embedded Coder, including certification standard support, click a link below.
Featured Product
Embedded Coder
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)