Prerequisites
Related Products
Installing the Real-Time Workshop Embedded Coder
Typographical Conventions
Product Overview
Introduction
Real-Time Workshop Embedded Coder Demos and Examples
Demos
ECRobot Target Example
Data Structures and Program Execution
Data Structures and Code Modules
Real-Time Model Data Structure
Code Modules
Generating the Main Program
Program Execution
Stand-Alone Program Execution
Main Program
rt_OneStep
VxWorks Example Main Program Execution
Overview
Task Management
Model Entry Points
The Static Main Program Module
Code Generation Options and Optimizations
Controlling and Optimizing the Generated Code
Basic Code Generation Options
Virtualized Output Ports Optimization
Generating Code from Subsystems
Generating Block Comments
Controlling Stack Space Allocation
Generating a Code Generation Report
Automatic S-Function Wrapper Generation
Generating an S-Function Wrapper
Limitations
Other Code Generation Options
Create Simulink (S-Function) Block
Generate ASAP2 File
Initialize Floats and Doubles to 0.0
Ignore Custom Storage Classes
External Mode
Suppress Error Status in Real-Time Model Data Structure
Parameter Structure
Generate An Example Main Program
Reusable Code Generation Options
Target Floating Point Math Environment
Advanced Code Generation Features
Introduction
ERT Code Deployment Aids
Specifying Target-Specific Information for Code Generation
Setting Up STF_rtw_info_hook.m
Customizing the Target Build Process via the STF_make_rtw Hook File
Auto-Configuring Models for Code Generation
The uset_param and uget_param Utilities
Automatic Model Configuration Using ert_make_rtw_hook
Using the Auto-Configuration Utilities
Generating Efficient Code via Optimized ERT Targets
Using the Optimized ERT Targets
Generating Custom Code File Banners
Custom File Processing Templates
Template Structure
Generating Source and Header Files with a CFP Template
Code Template API Summary
Custom Storage Classes
Introduction to Custom Storage Classes
Properties of Predefined Custom Storage Classes
Class-Specific Storage Class Attributes
Other Custom Storage Classes
GetSet Custom Storage Class for Data Store Memory
Designing Custom Storage Classes
Assigning a Custom Storage Class to Data
Code Generation with Custom Storage Classes
Ordering of Generated Storage Declarations
Sample Code Excerpts
Requirements, Restrictions, Target Files
Requirements and Restrictions
Unsupported Blocks
System Target File and Template Makefiles
Generating ASAP2 Files
Overview
Targets Supporting ASAP2
Defining ASAP2 Information
Generating an ASAP2 File
Customizing an ASAP2 File
Structure of the ASAP2 File
Printable Documentation (PDF)
Product Page