Products & Services Industries Academia Support User Community Company

Learn more about Real-Time Workshop   

User's Guide


Introduction to Real-Time Workshop TechnologyExplains 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 that pertain to model architecture, block support, scheduling, simulation, intellectual property protection, and events. Use this documentation as supplemental information to the Simulink documentation.
Defining Data Representation and Storage for Code GenerationHelps you make decisions that pertain to data representation and storage for generated code and discusses code generation considerations that pertain to parameters, signals, Simulink data objects, enumerated data types, block state storage and interfacing, and data store memory. This part also examples how to use #pragmas to relocate data.
Preparing Models for Code GenerationExplains how to configure a model for code generation, enable instrumentation for debugging, select and configure a target, select a target programming language, and specify code appearance and documentation. This part also explains how to check a model against basic modeling and code generation guidelines.
Generating Code and Building ExecutablesExplains how to generate, reload, and optimize generated code; generate reports for code reviews and traceability analysis; and build executables and configure the build process. For users who need more control over the build process, this part provides information on customizing code generation and the build process.
Converting MATLAB Code to C CodeDescribes how to use emlc for generating C code directly from M-files.
Integrating External Code With Generated C and C++ CodeHelps you identify a code integration option that best applies to your application. Explains how to integrate C and C++ code, develop external code for integration with generated code, and integrate external code using model configuration parameters, Custom Code blocks, and S-functions.
Setting Up Generated Code To Interface With Components in the Run-Time EnvironmentExplains how to configure the target environment and interface with a real-time operating system, hardware that is not running an operating system, and a host simulator, using shared libraries. This part also examples how to monitor signals and log data on a target system with the C API, generate model information for ASAP2 data management and calibration, and communicate with code executing on a target system using Simulink external mode.
Verifying Generated Code ApplicationsExplains how to test and refine concept models with host-based and standalone rapid simulations, verify generated code, test and refine a model with rapid prototyping, and verifying components with software-in-the-loop (SIL) and processor-in-the-loop (PIL) simulation on an instruction set simulator.
TroubleshootingExplains how to troubleshoot code generation problems.
  


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