Generate a Code Generation Report

To generate a code generation report when the model is built:

  1. On the C Code tab, from the Open Report list, select Report Options. The Configuration Parameters dialog box opens with the Code Generation > Report pane visible.

  2. Select the Create code generation report parameter.

  3. If you want the code generation report to automatically open after generating code, select the Open report automatically parameter (which is enabled by selecting Create code generation report).

  4. Generate code.

The build process writes the code generation report files to the html subfolder of the build folder (see HTML Code Generation Report Location). Next, the build process automatically opens a MATLAB® Web browser window and displays the code generation report.

To open an HTML code generation report at any time after a build, see Open Code Generation Report and Generate Code Generation Report After Build Process.