| Fixed-Point Blockset | ![]() |
Create a MATLAB structure describing an unsigned generalized fixed-point data type
Syntax
Description
ufix(TotalBits) returns a MATLAB structure that describes the data type of an unsigned generalized fixed-point data type with a word size given by TotalBits.
ufix is automatically called when an unsigned generalized fixed-point data type is specified in a block dialog box.
| Note The default radix point is not included in this data type description. Instead, the scaling must be explicitly defined in the block dialog box. |
Example
Define a 16-bit unsigned generalized fixed-point data type:
See Also
float, sfix, sfrac, sint, ufrac, uint
| sint | ufrac | ![]() |