Real-Time Workshop    

Working with Data Structures


This chapter continues the discussion of code generation and the build process, introduced in Understanding Real-Time Workshop. Topics covered in detail include the following :
Parameters: Storage, Interfacing, and Tuning
How to generate storage declarations for communicating model parameters to and from user-written code
Signals: Storage, Optimization, and Interfacing
How signal storage optimizations work, and how to generate storage declarations for communicating model signals to and from user-written code
Simulink Data Objects and Code Generation
How to represent and store signals and parameters in Simulink data objects, and how code is generated from these objects
Block States: Storing and Interfacing
How to generate storage declarations for communicating discrete block states to and from user-written code
Storage Classes for Data Store Memory Blocks
How to control data structures which define and initialize named shared memory regions, used by the Data Store Read and Data Store Write blocks



  Generating Code and Executables from Subsystems Parameters: Storage, Interfacing, and Tuning