| Fixed-Point Blockset | ![]() |
Create a MATLAB structure describing a signed integer data type
Syntax
Description
sint(TotalBits) returns a MATLAB structure that describes the data type of a signed integer with a word size given by TotalBits.
sint is automatically called when a signed 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 signed integer data type:
See Also
float, sfix, sfrac, ufix, ufrac, uint
| showfixptsimranges | ufix | ![]() |