Simulink.Block.getInternalDataType
Syntax
Description
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.
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 — - IntermediateResultsDataTypeStror- FractionDataTypeStr
- Gain — - ParamDataTypeStr
Version History
Introduced in R2023a
See Also
Gain | Sqrt | 1-D Lookup Table | 2-D Lookup Table | n-D Lookup Table