I want to find sections of the code that have not been used, i.e., "dead code". I want to highlight code in Simulink or generate a report after running the model to inform me which sections of the code were used and which sections of the code were not.
MATLAB: How to find sections of code which have not been used (“dead code”) in the MATLAB file or in the code generated from Simulink 7.0 (R2007b)
codedeadm-fileprofilingsimulink
Related Question
- Is it possible to show tips on how to accelerate lines of code in the MATLAB 7.0 (R14) Profiler
- How to close the HTML file generated from Simulink Verification and Validation 3.6 (R2013b) by command
- How to permanently disable a specific warning that M-Lint generates
- Model Coverage Analysis for Logical Blocks
- Changing font style and size in Matlab Report Generator
Best Answer