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-17: 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.
|
MemoryMapIdx
|
[-1,-1,-1] : used to populate global data map record (GlobalMemoryMap) during code generation. Refer to
matlabroot /rtw/c/tlc/mw/globalmaplib.tlc for usage information on the MemoryMapIdx field.
|
RecordType
|
BlockParameter
|
OriginalDataTypeIdx
|
0: corresponds to real_T
|
DataTypeIdx
|
0: corresponds to real_T
|
ComplexSignal
|
no
|
Width
|
1
|
Dimensions
|
[1, 1]
|
Tunable
|
off : If inline parameters check box is off, otherwise on if inline parameters check box is on.
|
StorageClass
|
Auto
|
NeedParenthesis
|
1
|
StringTransformed
|
"" : Transformed dialog parameter to be used as a string in the comment generated by the parameter
|
Value
|
[0.0]
|
}
|
|
| Block Record Defaults | | Data and Control Port Defaults |  |