This file leverages SLDIAGNOSTICS to extract statistics of library block usage from Simulink Diagrams. It will report
- number of times blocks are used from each library
- how many unique blocks are from that library and the total count of each.
Here is sample output for one library in a sample model:
dsparch4 : 5
unique blocks : 2
dsparch4/Digital Filter Design : 4
dsparch4/Digital Filter : 1
Dan Lluch (2022). Simulink Library Usage Stats (https://www.mathworks.com/matlabcentral/fileexchange/3928-simulink-library-usage-stats), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!