# 在 MATLAB 中创建定点对象

## 函数

 `fi` 构造定点数值对象
 `fimath` 设置定点数学设置 `fixed.fimathLike` Return `fimath` object like the input (自 R2022b 起) `globalfimath` Configure global fimath and return handle object `removefimath` Remove `fimath` from `fi` object `removeglobalfimathpref` Remove global fimath preference `resetglobalfimath` Set global fimath to MATLAB factory default `setfimath` Attach `fimath` object to `fi` object
 `fipref` Set fixed-point preferences `savefipref` Save `fi` preferences for next MATLAB session `isfipref` 确定输入是否为 `fipref` 对象
 `lowerbound` `fi` 对象范围的下界 `lsb` `fi` 对象的最低有效位的定标，或 `quantizer` 对象的最低有效位的值 `range` `fi` 或 `quantizer` 对象的数值范围 `upperbound` `fi` 对象范围的上界 `sort` Sort elements of real-valued `fi` object in ascending or descending order
 `fixed.aggregateType` Compute aggregate numerictype `get` Property values of object `isequal` Determine whether real-world values of two `fi` objects are equal, or determine whether properties of two `fimath`, `numerictype`, or `quantizer` objects are equal `isequaln` Determine equality of fixed-point arrays, treating NaN values as equal (自 R2021a 起) `reset` 将对象重置为初始条件 `set` Set or display property values for `quantizer` objects `mat2str` 将矩阵转换为字符串 `tostring` 将 `fi`、`fimath`、`numerictype` 或 `quantizer` 对象转换为字符串

## 类

 `numerictype` Construct an `embedded.numerictype` object describing fixed-point or floating-point data type

## 疑难解答

Resolve Error: Mismatched fimath

Troubleshoot mismatched `fimath` errors.

`fi*``fi` 错误故障排除。

fi Constructor Does Not Follow globalfimath Rules

Troubleshoot getting the `fi` constructor to follow `globalfimath` rules.