Products & Services Solutions Academia Support User Community Company

Learn more about Real-Time Workshop Embedded Coder   

User's Guide


Introduction to the Real-Time Workshop Embedded Coder ProductExplains how you can apply Real-Time Workshop and related technology to system development.
Developing Models for Code GenerationHelps you verify whether necessary products are installed and set up for modeling your application and discusses code generation considerations for embedded systems that pertain to model architecture, scheduling, and modeling patterns. Use this documentation as supplemental information to the Simulink documentation and corresponding Real-Time Workshop documentation.
Defining Data Representation and Storage for Code GenerationDescribes mpt data objects, a type of data object you can use with the Real-Time Workshop Embedded Coder product only. This part also explains how to insert comments and pragmas into generated code, create and use custom storage classes, rename and replace data types, manage and place data definitions and declarations, and specify the persistence level for signals and parameters.
Preparing Models for Code GenerationExplains how to develop models such that they generate specific C constructs, guides you through identifying what to configure and how to configure a model, and explains how to check a model against modeling and code generation guidelines for embedded systems.
Generating Code and Building ExecutablesExplains how to generate code and related reports, optimize generated code, develop code that complies with industry standards and guidelines, and develop executables from generated code. This part also provides information on how to customize the build process.
Integrating External Code and Generated C and C++ CodeDiscusses ways to generate code for integration with external code, code not generated by Real-Time Workshop technology. You can generate S-functions automatically, export function-call subsystems, generate code for nonvirtual subsystem modular function code, control the generation of function prototypes and encapsulated C++ model interfaces, and replace math functions and operators by using target function libraries.
Setting Up Generated Code To Interface With Components in the Run-Time EnvironmentExplains how to configure the target hardware environment, interface with hardware that runs with no operating system, and generate a main program module. This part also includes an example main program for Wind River Systems VxWorks software.
Verifying Generated Code ApplicationsDiscusses ways to refine and verify generated code. You can link generated code to requirements and verify generated code for a model with techniques such as rapid prototyping, on-target rapid prototyping, software-in-the-loop (SIL) testing, building a complete real-time target environment, processor-in-the-loop (PIL) testing, and code generation verification (CGV) testing.
  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS