## fi Object Properties

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);`

Note

The `fimath` properties and `numerictype` properties are also properties of the `fi` object. Refer to fimath Object Properties and numerictype Object Properties for more information.

### bin

Stored integer value of a `fi` object in binary.

### data

Numerical real-world value of a `fi` object.

### dec

Stored integer value of a `fi` object in decimal.

### double

Real-world value of a `fi` object stored as a MATLAB® `double`.

### fimath

`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 ```

To learn more about `fimath` objects, refer to fimath Object Construction. For more information about each of the `fimath` object properties, refer to fimath Object Properties.

### hex

Stored integer value of a `fi` object in hexadecimal.

### int

Stored integer value of a `fi` object, stored in a built-in MATLAB integer data type.

### NumericType

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.

Note

You cannot change the `numerictype` properties of a `fi` object after `fi` object creation.

### oct

Stored integer value of a `fi` object in octal.

### Value

Full-precision real world value of a `fi` object, stored as a character vector.