Fixed-Point Blockset    
ufix

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.

Example

Define a 16-bit unsigned generalized fixed-point data type:

See Also

float, sfix, sfrac, sint, ufrac, uint


  sint ufrac