Count all blocks used inside a model & save to excel sheet

Counts all blocks- including ref models, individual blocks, their instances
216 download
Aggiornato 3 feb 2014

Visualizza la licenza

This is a simple script which counts each and every blocks from root to all reference model levels and lists all blocks used, along with instances.

How to use :
If your model file is : SchedulerRoot.mdl

This is how the script should be called.

Count_Blocks_("SchedulerRoot")

Note :

The models on which this script runs has to be error free and
on MATLAB path.

Let me know if any issues and contribute to improve if needed.

Regards
Prashanth K B

Cita come

Prashanth Kalaghatta (2025). Count all blocks used inside a model & save to excel sheet (https://it.mathworks.com/matlabcentral/fileexchange/45379-count-all-blocks-used-inside-a-model-save-to-excel-sheet), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2012b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Programmatic Model Editing in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0