Simulink.BlockData
Provide runtime information about block-related data, such as block parameters
Description
This class defines properties that are common to objects that provide runtime information about a block ports and work vectors.
Parent
None
Property Summary
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 | |
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 (such as a parameter). |
Properties
AliasedThroughDataType
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.
character vector
RO
AliasedThroughDataTypeID
Index of the data type alias returned by the AliasedThroughDataType
property.
integer
RO
Complexity
Numeric type (real or complex) of the block data.
character vector
RW
for MATLAB™ S functions, RO
for
other blocks.
Data
The block data.
The data type specified by the Datatype or DatatypeID properties of this object.
RW
DataAsDouble
The block data's in double
form.
double
RO
Datatype
Data type of the values of the block-related object.
character vector
RO
DatatypeID
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 |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
integer
RW
for MATLAB S
functions, RO
for other blocks
Dimensions
Dimensions of the block-related object, such as parameter or DWork
vector.
array
RW
for MATLAB S-functions, RO
for other blocks
Name
Name of block-related object, such as a block parameter or DWork
vector.
character vector
RW
for MATLAB S-functions, RO
for other blocks
Type
Type of block data. Possible values are:
Type | Description |
---|---|
| This object contains data for an input port before the model is compiled. |
| This object contains data for an output port before the model is compiled. |
| This object contains data for an input port after the model is compiled. |
| This object contains data for an output port after the model is compiled. |
| This object contains data for a |
| This object contains data for a |
| This object describes a dialog box parameter of a Level-2 MATLAB S-function. |
| This object describes a run-time parameter of a Level-2 MATLAB S-function. |
| This object describes the continuous states of the block at the current time step. |
| This object describes the derivatives of the block's continuous states at the current time step. |
character vector
RO
Version History
Introduced before R2006a