Target Language Compiler    

model.rtw


The following topics describe the structure and contents of model.rtw files, intermediate files which Real-Time Workshop compiles when generating code for a model, subsystem, or S-function.
model.rtw File Contents
Description of model.rtw and its role in Real-Time Workshop
model.rtw Changes Between Real-Time Workshop 5.0 and 4.1
Highlights of changes to model.rtw since Release 4.1
General Information and Solver Specification
How Simulink solver settings are reflected in model.rtw
RTWGenSettings Record
How System Target File build settings are instantiated into model.rtw
Data Logging Information (DataLoggingOpts)
How data logging information controlled by the Workspace I/O pane is stored in model.rtw
Data Structure Sizes
Summary of the sizes of data structures written to model.rtw
Sample Time Information
How model.rtw file describes model execution rates
Data Type Information (DataTypes record)
Index of all possible data types that Simulink supports
Target Properties
A reserved record that is subject to change and is used for tailoring targets
Block Type Counts
Enumerates the number of each type of block in your model
External Inputs and Outputs
Describes all root-level inport blocks and outport blocks
Block I/O Information
Describes contents of the block I/O vector (rtB) structure
Data Type Work (DWork) Information
Describes persistent memory storage for data types values other than REAL_T between consecutive time intervals
Continuous States
Describes mapping between the continuous states and the continuous states structure (rtX)
Nonsampled Zero Crossings (NonsampledZCs)
Describes nonsampled zero crossing structure and the nonsampled zero crossings direction structure
Zero Crossings Events (ZCEvents)
Describes data for generating the rtPZCE (previous zero crossing event state) structure
Block Record Defaults
Provides default values for block variables that are not explicitly written in the block records
Parameter Record Defaults
Provides default values for block variables that are not explicitly written in the block parameter records
Data and Control Port Defaults
Provides default values for block variables that are not explicitly written in the block data input port records.
Model Parameters Record
Describes all block parameters found within the model
Reduced Blocks
Identifies blocks which are non-operations during model execution
Custom Storage Class Record
Identifies custom storage classes defined in the Simulink.
Parameter
, Simulink.Signal, and Simulink.State objects
Model Hierarchy
Describe the model's hierarchy of blocks, signals, and subsystems
System Defaults (canonical inputs, outputs, and parameters)
Describes the canonical input and output arguments of nonvirtual subsystems that are placed in functions
System Record
Describes how to execute the blocks within your model, which can consist of multiple systems
Stateflow Record
Contains one Chart record for each unique library chart used in the model
Model Checksums
Provides hash-based checksums for the block parameter values, identifier names, and model structure
Block Specific Records
Provides a block specific record for each Simulink built-in block and subsystem in the model
Object Records
Provides mappings between Simulink.Signals and Simulink.Parameters objects


  Advanced Functions model.rtw File Contents