Fixed-Point Blockset | ![]() ![]() |
Port Data Type Display
To display the data types of ports in your model, select Port Data Types from Simulink's Format menu.
The port display for fixed-point signals consists of three parts: the data type, the number of bits, and the scaling. The data type and number of bits reflect the block's Output data type parameter value or the data type that is inherited from the driving block. The scaling reflects the block's Output scaling parameter value or the scaling that is inherited from the driving block. For example, the data type displays for the Fixed-Point Sine demo are shown below.
The data type display associated with the To FixPt1 block indicates that the output data type is sfix(16)
(a signed 16-bit generalized fixed-point number) with slope/bias scaling of [1/5, 10]
. Note that this scaling is not the block's default scaling. The data type display associated with the To FixPt2 block indicates that the output data type is sfix(16)
with radix point-only scaling of 2^-6
.
![]() | Block Icon Labels | Blocks Grouped by Category | ![]() |