算法设计基础知识
生成编译代码的算法设计注意事项
主题
- Code Acceleration and Code Generation from MATLAB
General information about MATLAB® code acceleration.
- Workflow for Fixed-Point Code Acceleration and Generation
Describes the steps required for preparing MATLAB code and converting it to a MEX function.
- 可从 MATLAB 算法生成代码的情况
决定是否为您的应用程序生成代码。
- Requirements for Generating Compiled C Code Files
Requirements for using
fiaccel
to generate MEX code from a MATLAB algorithm. - 从 MATLAB 生成 C/C++ 代码的前提条件
从 MATLAB 代码生成代码需要 MATLAB Coder™ 产品和 C/C++ 编译器。
- 针对代码生成的 MATLAB 代码设计注意事项
为代码生成编写 MATLAB 代码时,请注意相关限制。
- 生成的代码和 MATLAB 代码之间的差异
生成的 C/C++ 代码的行为可能与原始的 MATLAB 源代码不同。
- Potential Differences Reporting
The code generator identifies potential behavior differences between the generated code and the original MATLAB code.
- 潜在差异消息
查看潜在差异消息。
- 支持 C/C++ 代码生成的 MATLAB 语言功能
使用代码生成支持的 MATLAB 语言功能和函数。