Fixed-Point Blockset    

Port Data Type Display

To display the data types of ports in your model, select Port data types from the Simulink 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 or through backpropagation. The scaling reflects the block's Output scaling value parameter value or the scaling that is inherited from the driving block or through backpropagation.

For example, the model below displays its port data types:

The data type display associated with the In 1 block in the model indicates that the output data type is sfix(16) (a signed, 16-bit, generalized fixed-point number) with [Slope Bias] scaling of [0.2 10]. Note that this scaling is not the block's default scaling. The data type display associated with the In 2 block indicates that the output data type is sfix(16) with radix point-only scaling of 2^-6.

The following table provides a key for various symbols that may appear in the port data type display for Fixed-Point Blockset blocks.

Port Data Type Display Symbols
Symbol
Description
uint
unsigned integer fixed-point data type
sint
signed integer fixed-point data type
ufrac
unsigned fraction fixed-point data type
sfrac
signed fraction fixed-point data type
ufix
unsigned generalized fixed-point data type
sfix
signed generalized fixed-point data type
fltu
doubles-override of an unsigned fixed-point data type
flts
doubles-override of a signed fixed-point data type
B
bias
E
2^
e
10^
F
fractional slope
n
negative
p
decimal point
S
slope

For more information on Fixed-Point Blockset data types, refer to Fixed-Point Data Type Parameters.

For more information on [Slope Bias] and radix point-only scaling, refer to Scaling.


  Block Icon Labels Blocks--Alphabetical List