Create a MATLAB structure describing a signed generalized fixed-point data type
a = sfix(TotalBits)
sfix(TotalBits) returns a MATLAB structure that describes the data type of a signed generalized fixed-point number with a word size given by
sfix is automatically called when a signed generalized fixed-point data type is specified in a block dialog box.
|Note A default radix 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 signed generalized fixed-point data type.
a = sfix(16)