| Products & Services | Industries | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Real-Time Workshop Embedded Coder |
| Contents | Index |
Introduction to the Real-Time Workshop Embedded Coder Product
• Developing Models for Code Generation
Setting Up Your Modeling Environment
• Using Discrete and Continuous Time
• Optimizing Task Scheduling for Multirate Multitasking Models on RTOS Targets
• Developing Model Patterns that Generate Specific C Constructs
• Defining Data Representation and Storage for Code Generation
• Creating and Using Custom Storage Classes
• Introduction to Custom Storage Classes
Resources for Defining Custom Storage Classes
Simulink Package Custom Storage Classes
Creating Packages that Support CSC Definitions
• Designing Custom Storage Classes and Memory Sections
• Applying CSCs to Parameters and Signals
• Generating Code with Custom Storage Classes
• Defining Advanced Custom Storage Class Types
• GetSet Custom Storage Class for Data Store Memory
Custom Storage Class Implementation
Custom Storage Class Limitations
• Inserting Comments and Pragmas in Generated Code
• Introduction to Memory Sections
Requirements for Defining Memory Sections
• Optimizing Buses for Code Generation
• Optimizing Virtual and Nonvirtual Buses
• Using Single-Rate and Multi-Rate Buses
• Renaming and Replacing Data Types
• Managing Data Definitions and Declarations With the Data Dictionary
Overview of the Data Dictionary
• Creating Simulink and mpt Data Objects
• Creating a Data Dictionary for a Model
Defining All Global Data Objects in a Separate File
Defining a Specific Global Data Object in Its Own File
Saving and Loading Data Objects
• Applying Naming Rules to Identifiers Globally
• Selecting User Data Types for Signals and Parameters
• Registering mpt User Object Types
• Managing Placement of Data Definitions and Declarations
• Preparing Models for Code Generation
• Mapping Application Objectives to Model Configuration Parameters
Considerations When Mapping Application Objectives
Defining High-Level Code Generation Objectives
• Determining Whether the Model is Configured for Specified Objectives
• Choosing and Configuring an Embedded Real-Time Target
• Generating Code and Building Executables
• Generating Reports for Code Reviews and Traceability Analysis
About HTML Code Generation Report Extensions
Generating an HTML Code Generation Report
• Using the Code Interface Report to Analyze the Generated Code Interface
Configuring Production Code Optimizations
• Optimizing Your Model with Configuration Wizard Blocks and Scripts
• Developing Models and Code That Comply with Industry Standards and Guidelines
What Are the Standards and Guidelines?
Developing Models and Code That Comply with MAAB Guidelines
Developing Models and Code That Comply with MISRA C Guidelines
• Generating Code That Complies with AUTOSAR Standards
• Developing Models and Code That Comply with the IEC 61508 Standard
• Developing Models and Code That Comply with the DO-178B Standard
• Integrating External Code and Generated C and C++ Code
About External Code Integration Extensions
• Generating S-Function Wrappers
• Exporting Function-Call Subsystems
• Overview
• Requirements for Exporting Function-Call Subsystems
Techniques for Exporting Function-Call Subsystems
Optimizing Exported Function-Call Subsystems
Exporting Function-Call Subsystems That Depend on Elapsed Time
• Nonvirtual Subsystem Modular Function Code Generation
Configuring Nonvirtual Subsystems for Generating Modular Function Code
• Examples of Modular Function Code for Nonvirtual Subsystems
• Controlling Generation of Function Prototypes
• Configuring Model Function Prototypes
Model Function Prototypes Example
Configuring Model Function Prototypes Programmatically
Sample M-Script for Configuring Model Function Prototypes
• Controlling Generation of Encapsulated C++ Model Interfaces
C++ Encapsulation Quick-Start Example
• Generating and Configuring C++ Encapsulation Interfaces to Model Code
Configuring C++ Encapsulation Interfaces Programmatically
Sample M-Script for Configuring the Step Method for a Model Class
• Replacing Math Functions and Operators Using Target Function Libraries
• Setting Up Generated Code To Interface With Components in the Run-Time Environment
• Configuring the Target Hardware Environment
Configuring Support for Numeric Data
Configuring Support for Time Values
Setting Up Support for Non-Inlined S-Functions
Configuring Model Function Generation and Argument Passing
• Interfacing With Hardware That is Not Running an Operating System (Bare Board)
• Verifying Generated Code Applications
• Tracing Generated Code to Requirements
• Rapid Prototyping On a Target System
About On-Target Rapid Prototyping
Goals of On-Target Rapid Prototyping
Optimizing Generated Code for an Embedded Processor With On-Target Rapid Prototyping
• Verifying Generated Source Code With Software-In-the-Loop Simulation
About Software-In-the-Loop Simulation Extensions
• Setting Up a Model to Generate Code for Host Simulations and Target Deployment
• Verifying a Component in the Target Environment
About Component Verification in the Target Environment
Goals of Component Verification in the Target Environment
Maximizing Code Portability and Configurability
• Verifying a Component by Building a Complete Real-Time Target Environment
About Component Verification With a Complete Real-Time Target Environment
Goals of Component Verification With a Complete Real-Time Target Environment
Testing a Component as Part of a Complete Real-Time Target Environment
• Verifying Compiled Object Code with Processor-in-the-Loop Simulation
• About Process-In-the-Loop Simulation
• Choosing a PIL Simulation Approach
Verifying Signals with PIL Testing
Running a Complete Model as a PIL Simulation
• Running a Referenced Model as a PIL Simulation
Programming PIL Support for Third-Party Tools and Target Hardware
Setting Up PIL Simulations With the Embedded IDE Link Product PIL Block
• Configuring a PIL Simulation
• Verifying Numerical Equivalence of Results with Code Generation Verification
• Overview of Embedded Target Development
• Target Development Mechanics
• Target Directories, Paths, and Files
Directory and File Naming Conventions
• Target Directory Structure and MATLAB Path
• Key Directories Under the Target Root (mytarget)
• Key Files in the Target Directory (mytarget/mytarget)
• Additional Directories and Files for Externally Developed Targets
System Target File Naming and Location Conventions
• System Target File Structure
• Defining and Displaying Custom Target Options
• Supporting Optional Features
• Supporting Model Referencing
• Supporting Compiler Optimization Level Control
• Supporting firstTime Argument Control
• Introduction to Target Preferences
Creating Your Target Preferences Class
Target Preferences Class Methods
• Real-Time Workshop Pane: Code Style
Real-Time Workshop: Code Style Tab Overview
Preserve operand order in expression
Preserve condition expression in if statement
• Real-Time Workshop Pane: Templates
Real-Time Workshop: Templates Tab Overview
Code templates: Source file (*.c) template
Code templates: Header file (*.h) template
Data templates: Source file (*.c) template
Data templates: Header file (*.h) template
• Real-Time Workshop Pane: Data Placement
• Real-Time Workshop Pane: Data Type Replacement
Real-Time Workshop: Data Type Replacement Tab Overview
• Real-Time Workshop Pane: Memory Sections
• Blocks
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| The MathWorks Web Site Resources |
|
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |
Store