Simulink.Block.getInternalDataType
Syntax
Description
returns the data type of block dataType
= Simulink.Block.getInternalDataType(block
,parameter
,mode
)parameter
when its value is set to
Inherit: Inherit via internal rule
. Specify mode
to compile or not compile the model before returning the data type.
returns the data type of the dataType
= Simulink.Block.getInternalDataType(block
,parameter
)parameter
from the previous model
compilation.
Examples
Input Arguments
Output Arguments
Limitations
This function returns the data type for only these blocks:
Sqrt —
IntermediateResultsDataTypeStr
1-D Lookup Table block, 2-D Lookup Table block, and n-D Lookup Table block —
IntermediateResultsDataTypeStr
orFractionDataTypeStr
Gain —
ParamDataTypeStr
Version History
Introduced in R2023a
See Also
Gain | Sqrt | 1-D Lookup Table | 2-D Lookup Table | n-D Lookup Table