主要内容

浏览生成的代码

使用代码生成报告来浏览和理解生成代码

生成代码后,检查源代码并输出结果。代码生成报告提供了一个交互式界面,用于检查生成的 C/C++ 源文件、生成的数据类型和其他代码细节。通过使用报告信息对象以编程方式访问代码生成报告中的信息子集。

函数

getLineColumnFind locations of beginning and end of MATLAB code involved in code generation

属性

coder.BuildLog PropertiesBuild logs produced during code generation
coder.CodeFile PropertiesDescription of file containing text that is involved in code generation
coder.File PropertiesDescription of file without text that is involved in code generation
coder.Function PropertiesDescription of MATLAB function used in code generation
coder.Message PropertiesDescription of message produced during code generation readiness analysis or during code generation
coder.Method PropertiesDescription of method in a MATLAB class used in code generation
coder.ReportInfo PropertiesCode generation report information
coder.Summary PropertiesSummary of code generation from MATLAB code

主题

代码生成报告

故障排除

精选示例