MATLAB 中的手动定点转换
R2026b辅助浮点算法转换为定点算法
使用 buildInstrumentedMex 函数来对算法进行插桩,以记录所有命名变量和中间变量的最小值和最大值。使用 showInstrumentationResults 函数根据这些记录的值建议定点数据类型。
函数
主题
- Decide Between Fixed-Point Conversion Workflows
Learn the benefits of each conversion workflow to help you decide which one best fits your application.
- Manual Fixed-Point Conversion Workflow and Best Practices
Get from generic MATLAB® code to an efficient fixed-point implementation using manual fixed-point conversion.
- 手动将浮点 MATLAB 算法转换为定点
浏览手动定点转换的最佳做法。
相关信息
疑难解答
Resolve Error: Function Is Not Supported for Fixed-Point Conversion
Troubleshoot functions that are not supported for fixed-point conversion.
fi* 非 fi 错误故障排除。
对数据类型不匹配错误进行故障排除。
对不匹配的 fimath 错误进行故障排除。
