ufix
Create a MATLAB structure describing an unsigned generalized fixed-point data type.
Syntax
a = ufix(TotalBits)
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.
Note
ufix is automatically called when an unsigned generalized fixed-point data type is specified in a block dialog box. 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.