Simulink Coder
Description
- Introduction and Key Features
- Selecting and Working with Targets
- Defining and Controlling Data
- Generating Code
- Executing Code in a Real-Time Environment
- Tuning Parameters and Logging Data
Introduction
Simulink Coder™ (formerly Real-Time Workshop®) generates and executes C and C++ code from Simulink® diagrams, Stateflow® charts, and MATLAB® functions. The generated source code can be used for real-time and nonreal-time applications, including simulation acceleration, rapid prototyping, and hardware-in-the-loop testing. You can tune and monitor the generated code using Simulink or run and interact with the code outside MATLAB and Simulink.
Key Features
- ANSI/ISO C and C++ code and executables for discrete, continuous, or hybrid Simulink and Stateflow models
- Incremental code generation for large models
- Integer, floating-point, and fixed-point data type support
- Code generation for single-rate, multirate, and asynchronous models
- Single-task, multitask, and multicore code execution with or without an RTOS
- External mode simulation for parameter tuning and signal monitoring


