File Exchange

image thumbnail

Simulink Library Usage Stats

version (1.54 KB) by Dan Lluch
Script that interrogates Simulink models for library block usage.


Updated 01 Sep 2016

View Version History

View License

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 (2020). Simulink Library Usage Stats (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Dan Lluch

Be sure to also see John Kluza's FIND_BLOCKSETS and LIST_BLOCKS submissions

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!