| Contents | Index |
This class defines properties that are common to objects that provide run-time information about a block's ports and work vectors.
None
Simulink.BlockPortData, Simulink.BlockCompDworkData
Name | Description |
|---|---|
Fundamental base data type. | |
Fundamental base data type ID. | |
Numeric type (real or complex) of the block data. | |
The block data. | |
The block data in double form. | |
Data type of the block data. | |
Index of the data type of the block data. | |
Dimensions of the block data. | |
Name of the block data. | |
Type of block data (e.g., a parameter). |
Data type aliases allow a data type (B) to be recursively aliased to another alias type or BaseType (A). If alias type A is aliased to another alias type that is aliased to another alias type and so forth, this property allows the alias type to be iteratively searched (aliased through) until the type is no longer an alias type and that final result is the value of the property returned. For example, assume that you have created the Simulink Alias types A and B as follows:
A=Simulink.AliasType('double')
A =
Simulink.AliasType
Description: ''
HeaderFile: ''
BaseType: 'double'
B=Simulink.AliasType('A')
B =
Simulink.AliasType
Description: ''
HeaderFile: ''
BaseType: 'A'If the data type of an item of block data is B, this property returns the base type A instead of B.
string
RO
Index of the data type alias returned by the AliasedThroughDataType property.
integer
RO
Numeric type (real or complex) of the block data.
string
RW for MATLAB S functions, RO for other blocks.
The block data.
The data type specified by the Datatype or DatatypeID properties of this object.
RW
The block data's in double form.
double
RO
Data type of the values of the block-related object.
string
RO
Index of the data type of the values of the block-related object. enter the numeric value for the desired data type, as follows:
| Data Type | Value |
|---|---|
'inherited' | -1 |
'double' | 0 |
'single' | 1 |
'int8' | 2 |
'uint8' | 3 |
'int16' | 4 |
'uint16' | 5 |
'int32' | 6 |
'uint32' | 7 |
'boolean' or fixed-point data types | 8 |
integer
RW for MATLAB S functions, RO for other blocks
Dimensions of the block-related object, e.g., parameter or DWork vector.
array
RW for MATLAB S functions, RO for other blocks
Name of block-related object, e.g., a block parameter or DWork vector.
string
RW for MATLAB S functions, RO for other blocks
Type of block data. Possible values are:
Type | Description |
|---|---|
'BlockPreCompInputPortData' | This object contains data for an input port before the model is compiled. |
'BlockPreCompOutputPortData' | This object contains data for an output port before the model is compiled. |
'BlockCompInputPortData' | This object contains data for an input port after the model is compiled. |
'BlockCompOutputPortData' | This object contains data for an output port after the model is compiled. |
'BlockPreCompDworkData' | This object contains data for a DWork vector before the model is compiled. |
'BlockCompDworkData' | This object contains data for a DWork vector after the model is compiled. |
'BlockDialogPrmData' | This object describes a dialog box parameter of a Level-2 MATLAB S-function. |
'BlockRuntimePrmData' | This object describes a run-time parameter of a Level-2 MATLAB S-function. |
'BlockCompContStatesData' | This object describes the continuous states of the block at the current time step. |
'BlockDerivativesData' | This object describes the derivatives of the block's continuous states at the current time step. |
string
RO

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |