Documentation Center

  • Trial Software
  • Product Updates

Contents

Data Types

Assign specific data types to signals and block parameters, define enumerations

Blocks

Block Support Table View data type support for Simulink blocks
Data Type Conversion Convert input signal to specified data type
Data Type Conversion Inherited Convert from one data type to another using inherited data type and scaling
Data Type Duplicate Force all inputs to same data type
Data Type Propagation Set data type and scaling of propagated signal based on information from reference signals
Data Type Scaling Strip Remove scaling and map to built in integer

Functions

enumeration Display class enumeration members and names
fixdt Create Simulink.NumericType object describing fixed-point or floating-point data type
fixpt_evenspace_cleanup Modify breakpoints of lookup table to have even spacing
fixpt_interp1 Implement 1-D lookup table
fixpt_look1_func_approx Optimize fixed-point approximation of nonlinear function by interpolating lookup table data points
fixpt_look1_func_plot Plot fixed-point approximation function for lookup table
fixpt_set_all Set property for each fixed-point block in subsystem
fixptbestexp Exponent that gives best precision for fixed-point representation of value
fixptbestprec Determine maximum precision available for fixed-point representation of value
float Create Simulink.NumericType object describing floating-point data type
fxptdlg Start Fixed-Point Tool
num2fixpt Convert number to nearest value representable by specified fixed-point data type
sfix Create Simulink.NumericType object describing signed fixed-point data type
sfrac Create Simulink.NumericType object describing signed fractional data type
Simulink.defineIntEnumType Define enumerated data type
sint Create Simulink.NumericType object describing signed integer data type
tunablevars2parameterobjects Create Simulink parameter objects from tunable parameters
ufix Create Simulink.NumericType object describing unsigned fixed-point data type
ufrac Create Simulink.NumericType object describing unsigned fractional data type
uint Create Simulink.NumericType object describing unsigned integer data type

Classes

Simulink.AliasType Create alias for signal and/or parameter data type
Simulink.NumericType Specify data type
Was this topic helpful?