| Using Simulink | ![]() |
Specifying Block Parameter Data Types
When entering block parameters whose data type is user-specifiable, use the syntax
type(value)
to specify the parameter, where type is the name of the data type and value is the parameter value. The following examples illustrate this syntax.
single(1.0) |
Specifies a single-precision value of 1.0 |
int8(2) |
Specifies an eight-bit integer of value 2 |
int32(3+2i) |
Specifies a complex value whose real and imaginary parts are 32-bit integers |
| Block Support for Data and Numeric Signal Types | Creating Signals of a Specific Data Type | ![]() |