If you disable creation of the code generation report, you can speed up code generation, unless an error occurs. If an error occurs, the code generator creates a report even if you disabled creation of the report.
To disable creation of the code generation report:
In the MATLAB® Coder™ app, in the project build settings, on the Debugging tab, clear the Always create a report check box.
At the command line, when you generate code, do not use the
-report option. If you specify a code configuration object,
make sure that the
GenerateReport property is set to
By default, creation of the code generation report is disabled.