How to resolve error message about 'cannot open source file XXX' in the 'static code metrics report'?

8 visualizaciones (últimos 30 días)
The ‘static code metrics report’ cannot be generated successfully because a source file cannot be opened. The error message is like below:

Respuestas (1)

Aman Vyas
Aman Vyas el 14 de Ag. de 2020
Hi,
In this case you most likely need to add the folder containing “source files” in the ‘Include directories’, which is on the ‘Code Generation/Custom Code’ pane in ‘Model Configuration Parameters’.
Hope it helps!

Categorías

Más información sobre MATLAB Report Generator en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by