Main Content

本页翻译不是最新的。点击此处可查看最新英文版本。

定点转换

将浮点代码转换为定点代码,优化定点数据类型(需要 Fixed-Point Designer™)

如果您有 Fixed-Point Designer 产品,为了符合目标硬件约束,请生成定点 C/C++ 代码。

coder.FixptConfigFloating-point to fixed-point conversion configuration object

函数

coder打开 MATLAB Coder
codegenMATLAB 代码生成 C/C++ 代码。
coder.config创建 MATLAB Coder 代码生成配置对象
coder.approximationCreate function replacement configuration object

主题

自动转换 - 编程工作流

自动转换 - App 工作流