Static code metrics report was not successfully generated because of the following errors
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
I would like to check the "Static code metrics report", after I build my model into Parrot mambo. I am using "absQuadcopter.prj (https://www.mathworks.com/help/aeroblks/quadcopter-project.html) and hardware support package (https://www.mathworks.com/hardware-support/parrot-minidrones.html). I am building "Flight Contol System" subsystem into the Parrot Mambo as described in the project documentation. The subsystem is succesfully built and the drone is working as expected in real time. On the other hand, I have issues with Code Generation Report, specifically "Static Code Metrics Report". I am receiving following errors:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/236408/image.png)
I don't understand the problem really. It is strange that standard C header files cannot be opened. Does any know how to solve this issue?
1 comentario
Prashant Nirmal
el 15 de Nov. de 2019
Try to open MATLAB as administrator. Also try to create report from MATLAB Prompt
Respuestas (1)
Sukrut Tamhankar
el 7 de Mayo de 2020
The following are the limitations of Static Code Metrics Report:
Static code metrics are not available if the target configuration for a model results in generated code that:
- Includes a header file that is not generated by the model hierarchy and is not a system header file
- Uses a macro that is not recognized
Please refer the following MATLAB documentation link for more information regarding Static code metrics analysis:
0 comentarios
Ver también
Categorías
Más información sobre MATLAB Support Package for Parrot Drones 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!