| Target Language Compiler | ![]() |
Sample Time Information
The sample time information written to model.rtw file describes the rates at which the model executes. The FundamentalStepSize corresponds to the base rate for the fastest task in a model.
The InvariantConstants field is set as a result of the Inline parameters check box in the Real-Time Workshop page of the Simulation Parameters dialog box. This allows you to globally select whether or not parameter inlining is to be used in generated code. An inlined parameter results in a parameter value being hard-coded in the generated code. Consequently, this value cannot be altered by any parameter tuning method. You can override invariant constants on one or more selected signals by selecting Tunable parameters and specifying the variable name.
The SampleTime list contains all periodic rates found within your model. This list excludes constant and triggered sample times.
| Data Structure Sizes | Data Type Information (DataTypes record) | ![]() |