Simulink Library Usage Stats
Version 1.1.0.1 (1.54 KB) by
Dan Lluch
Script that interrogates Simulink models for library block usage.
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
Cite As
Dan Lluch (2026). Simulink Library Usage Stats (https://uk.mathworks.com/matlabcentral/fileexchange/3928-simulink-library-usage-stats), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
