The properties associated with fi objects are described in the following sections in alphabetical order.
You can set these properties when you create a fi object. For example, to set the stored integer value of a fi object:
x = fi(0,true,16,15,'int',4);
fimath properties associated with a fi object. fimath properties determine the rules for performing fixed-point arithmetic operations on fi objects. fi objects get their fimath properties from a local fimath object or from default values. The factory-default fimath values have the following settings:
RoundingMethod: Nearest OverflowAction: Saturate ProductMode: FullPrecision SumMode: FullPrecision
The numerictype object contains all the data type and scaling attributes of a fixed-point object. The numerictype object behaves like any MATLAB structure, except that it only lets you set valid values for defined fields. For a table of the possible settings of each field of the structure, see Valid Values for numerictype Object Properties in the Fixed-Point Designer™ User's Guide.