uint - Create MATLAB structure describing unsigned integer data type
Syntax
a = uint(TotalBits)
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 binary point for this data type is assumed to lie
to the right of all bits.
Examples
Define a 16-bit unsigned integer:
a = uint(16)
a =
Class: 'INT'
IsSigned: 0
MantBits: 16
See Also
fixdt, float, sfix, sfrac, sint, ufix, ufrac
 | ufrac | | unpack |  |
Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
Get this Simulink Kit