How to resolve error message about 'cannot open source file XXX' in the 'static code metrics report'?
8 次查看(过去 30 天)
显示 更早的评论
The ‘static code metrics report’ cannot be generated successfully because a source file cannot be opened. The error message is like below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/331964/image.jpeg)
0 个评论
回答(1 个)
Aman Vyas
2020-8-14
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!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Report Generator 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!