Embedded Coder
8Pages

{{requestButtons}}

Catalog excerpts

Embedded Coder - 1

Embedded Coder 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. Key Features ▪ Optimization and code configuration options that extend MATLAB Coder and Simulink Coder ▪ Storage class, type, and alias definition using Simulink® data dictionary capabilities ▪ Processor-specific code optimization ▪ Multirate, multitask, and multicore code execution with or without an RTOS ▪ Code verification, including SIL and PIL testing, custom comments, and code reports with tracing of models to and from code and requirements ▪ Integration of Texas Instruments’ Code Composer Studio™, Analog Devices™ VisualDSP++®, and other third-party embedded development environments ▪ Standards support, including ASAP2, AUTOSAR, DO-178, IEC 61508, ISO 26262, and MISRA C® in Simulink

Open the catalog to page 1
Embedded Coder - 2

italic IStetrlcs Banort Cade teplatement* Reoisre. c-iss SICK: Fault-Tolerant Fuel Control System firfl rite cc-tfol A fixed-point model with generated code and its simulation mode set for S!L execution. Embedded Coder lets you quickly generate, document, and test code for production embedded systems. Configuring and Working with Targets To configure code generation settings for Embedded Coder, you use the MATLAB Coder project user interface or the Simulink Model Explorer. You can also configure each setting directly using MATLAB commands and scripts. From the MATLAB Coder project user...

Open the catalog to page 2
Embedded Coder - 3

■ C/C++ static library For a Simulink system target file, you specify the real-time environment on which your generated code will run. Embedded Coder includes target files for several ready-to-run configurations, and supports third-party and custom targets as well. Built-in targets include: Embedded Real-Time Target — Generates ANSI/ISO C, C++, and encapsulated C++ code with floating-point and fixed-point data for efficient real-time execution on virtually any production processor AUTOSAR Target — Generates C code and run-time interfaces that support development of AUTOSAR software Shared...

Open the catalog to page 3
Embedded Coder - 4

For Simulink models, Embedded Coder supports the following data specification and data dictionary capabilities Simulink data object — Provides predefined storage classes, including constant, volatile, exported global, imported global, define directive, structure, bit field (including bit-packed structure), and get and set access Module packaging data object — Provides preconfigured attributes for advanced data objects typically used in mass production, such as memory segments to calibrate or tune lookup tables User data type — Lets you create abstract types for complex data so you can...

Open the catalog to page 4
Embedded Coder - 5

Optimizing and Packaging Code Using Embedded Coder, you can control function boundaries, preserve expressions, and apply optimizations on multiple blocks to further reduce code size. Data is exchanged with the generated code via global variables or function arguments. You can trace the generated code to blocks and signals in your model. Embedded Coder options for generating code from MATLAB code and Simulink models enable you to: ▪ Generate processor-specific code for math functions and operators ▪ Reuse code for exporting to legacy or external environments ▪ Eliminate unnecessary...

Open the catalog to page 5
Embedded Coder - 6

General Paths Report CnmrinentL: Symbok CU«D*I Cod* | Debug Interface largetlunclic^ itrdr.: r<:flr iriirllfr ELAS Replac-ement Examples BIAS Replacement Examp Desktop Window Help * ? x This block- supports ohs MATLAB Coder subset. */ ' Editor - C:\Program FilesVMATLABVRZOllaVt&olboxVcoderVcodegendemosVcoderde,,. | □ || @ |US3j File Edit Text Go Cell Tools Debug Desktop Window Help ^ | ? X function [yl, y£] = replsce_K.at_r:ix_ops_blas (ul, u2) %#codegevi % This block: supports the MftTLAB Coder subset. % See the help meirj foi details. S4 dgemm32(ETEAN5A.J iTRAJJS3, tN, iN, £KF SfaPrLfc,...

Open the catalog to page 6
Embedded Coder - 7

=.lr Jr., Mr.'. fV.pl.. n.inr,n ^-m.Uf.r-i AnflyVI C»* H«fc Subsretenn Report fade interffltMrt Tratwihiliiy Report Coda RMlaccmf Mi Report SeGba-ra_2__iul_9__d- - I. cenl t sin I e-lccfc i J.~H j._B-aleO Simulink code generation report highlighting bidirectional traceability between algorithm and implementation. Executing and Verifying Code Embedded Coder enables you to incorporate generated code into your code execution environment. With MATLAB, the code generated from Embedded Coder executes using the same execution framework as provided by MATLAB Coder. With Simulink, Embedded Coder...

Open the catalog to page 7
Embedded Coder - 8

Performing SIL and PIL Testing Embedded Coder automates execution of generated code in Simulink for SIL testing or on the embedded target for PIL testing using Simulink simulation modes or S-function blocks. Code generation verification APIs help automate test execution and comparison of test results to simulation results from the original model. Integration with third-party tools enables structural code coverage analysis to measure test completeness. Code profiling analysis provides execution time on host or target processors. Resources Product Details, Examples, and System Requirements...

Open the catalog to page 8

All The MathWorks catalogs and technical brochures

  1. Stateflow

    8 Pages

  2. SimEvents

    7 Pages

  3. SimDriveline

    7 Pages

  4. SimRF

    6 Pages

  5. MATLAB Coder

    5 Pages

  6. OPC Toolbox

    5 Pages

  7. SimBiology

    6 Pages

  8. xPC Target

    5 Pages

  9. SimMechanics

    7 Pages

  10. Simscape

    7 Pages

  11. Simulink

    6 Pages

  12. MATLAB®

    6 Pages

Archived catalogs

  1. Graphics

    667 Pages

  2. Data Analysis

    220 Pages

  3. Mathematics

    316 Pages