Real-Time Workshop Embedded Coder 5.2
Product Description
- Introduction and Key Features
- Working with Real-Time Workshop Embedded Coder
- Defining and Managing Custom Data
- Executing Code in a Real-Time Production Environment
- Optimizing and Packaging Code
- Verifying and Documenting Your Code
Defining and Managing Custom Data
Real-Time Workshop Embedded Coder uses the following data specification and data dictionary capabilities in Simulink when generating code:
Simulink data objects — provides predefined storage classes, including const, volatile, exported global, imported global, #define, structure, bitfield (bit packed structure), and get and set access methods
Module packaging data objects — provides preconfigured attributes for advanced data objects typically used in mass production, such as memory segments to calibrate or tune lookup tables
User data types — lets you create abstract types for complex data As a result, you can precisely control how model data appears in the generated code, interface with legacy data of any complexity, and augment or replace Simulink built-in types.
The following tools help you design and implement a data dictionary:
Custom Storage Class Designer — lets you graphically create custom definitions and declarations to import data structures into the generated code, export data, conserve memory, or automatically generate data exchange standards, such as ASAM/ASAP2
Simulink Data Object Wizard — analyzes Simulink and Stateflow charts and auto-populates the workspace with appropriate data objects
Real-Time Workshop Embedded Coder gives you access to ASAP2 data exchange files in Simulink, enabling you to export model data with arbitrarily complex data definitions using the ASAP2 standard. You can modify the built-in facilities to produce other data exchange mechanisms.
Store

