Catalog excerpts
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 1italic 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■ 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 3For 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 4Optimizing 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 5General 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=.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 7Performing 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 8All The MathWorks catalogs and technical brochures
-
MATLAB Production Server
6 Pages
-
Database Toolbox
4 Pages
-
MATLAB Report Generator
4 Pages
-
Stateflow
8 Pages
-
SimEvents
7 Pages
-
SimDriveline
7 Pages
-
SimHydraulics
7 Pages
-
SimPowerSystems
8 Pages
-
Simulink Control Design
5 Pages
-
Aerospace Blockset
5 Pages
-
SimRF
6 Pages
-
Simulink Coder
6 Pages
-
Simulink PLC Coder
4 Pages
-
Fixed-Point Designer
9 Pages
-
MATLAB Coder
5 Pages
-
Simulink 3D Animation
10 Pages
-
Gauges Blockset
2 Pages
-
Simulink Report Generator
3 Pages
-
Polyspace Bug Finder
6 Pages
-
global-optimization-toolbox
10 Pages
-
Phased Array System Toolbox
9 Pages
-
OPC Toolbox
5 Pages
-
Simulink Design Verifier
7 Pages
-
Simulink Design Optimization
10 Pages
-
Filter Design HDL Coder
5 Pages
-
Bioinformatics Toolbox
9 Pages
-
SimBiology
6 Pages
-
Computer Vision System Toolbox
10 Pages
-
DSP System Toolbox
11 Pages
-
Fuzzy Logic Toolbox
5 Pages
-
Polyspace Client for C/C++
5 Pages
-
xPC Target
5 Pages
-
SimMechanics
7 Pages
-
Simscape
7 Pages
-
Simulink
6 Pages
-
Data Acquisition Toolbox
8 Pages
-
Image Processing Toolbox
7 Pages
-
Signal Processing Toolbox
10 Pages
-
Control System Toolbox
6 Pages
-
Symbolic Math Toolbox?
6 Pages
-
Parallel Computing Toolbox?
7 Pages
-
MATLAB®
6 Pages
-
Mapping Toolbox 3.2
7 Pages
-
Instrument Control Toolbox
7 Pages
-
Optimization Toolbox 6.0
14 Pages
Archived catalogs
-
MATLAB Release Notes
505 Pages
-
C and Fortran API Reference
263 Pages
-
External Interfaces
649 Pages
-
Function Reference: Volume 3 (P-Z)
1696 Pages
-
Function Reference: Volume 2 (F-O)
1568 Pages
-
Function Reference: Volume 1 (A-E)
1298 Pages
-
Creating Graphical User Interfaces
520 Pages
-
3-D Visualization
212 Pages
-
Graphics
667 Pages
-
MATLAB Programming Tips
66 Pages
-
Programming Fundamentals
840 Pages
-
Data Analysis
220 Pages
-
Mathematics
316 Pages
-
MATLAB® Getting Started Guide
250 Pages