| Fixed-Point Blockset | ![]() |
Create a MATLAB structure describing an unsigned integer data type
Syntax
Description
uint(TotalBits) returns a MATLAB structure that describes the data type of an unsigned integer with a word size given by TotalBits.
uint is automatically called when an unsigned integer is specified in a block dialog box.
The default radix point for this data type is assumed to lie to the right of all bits.
Example
Define a 16-bit unsigned integer:
See Also
float, sfix, sfrac, sint, ufix, ufrac
| ufrac | Block Reference | ![]() |