Contenido principal

Exploring Generated Code

Use code generation reports to explore and understand the generated code

After you generate code, inspect the source code and output results. The code generation report provides an interactive interface for inspecting the generated C/C++ source files, generated data types, and other code insights. Access a subset of information from the code generation report programmatically by using the report information object.

Functions

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

Properties

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

Topics

Code Generation Reports

Troubleshooting

Featured Examples