Target Language Compiler    

Parameter Record Defaults

The ParameterDefaults record contains default entries for parameters. These records are used throughout the model when no field is explicitly provided for a model parameter. For example, the default DataTypeIdx is 0, which corresponds to real_T. The default entry for ComplexSignals is no. Other entries such as the Tunable field is controlled by the Inline parameters check box. If for a given block instance, a Parameter record does not contain a specific entry for these fields, then the value from the ParameterDefaults is applied.

Table A-15: Model.rtw Parameter Defaults
Variable/Record Name
Description
ParameterDefaults {

Record for default values of block variables that aren't explicitly written in the block parameter records. The block parameter records only contain nondefault values for the following variables.

  DataTypeIdx

0 (this corresponds to real_T)

  ComplexSignal

no

  Tunable

off: If inline parameters check box is off, otherwise on if inline parameters check box is on.

  StorageClass

Auto

}


 Block Record Defaults Data and Control Port Defaults