| Contents | Index |
a = ufix(TotalBits)
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.
Note The default binary point is not included in this data type description. Instead, the scaling must be explicitly defined in the block dialog box. |
Define a 16-bit unsigned generalized fixed-point data type:
a = ufix(16)
a =
Class: 'FIX'
IsSigned: 0
MantBits: 16
fixdt | float | sfix | sfrac | sint | ufrac | uint

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |