View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Simulink Model Reference Total Block Count

Be the first to rate this file! 7 Downloads (last 30 days) File Size: 1.78 KB File ID: #20568 Version:

Simulink Model Reference Total Block Count


Robyn Jackey (view profile)


03 Jul 2008 (Updated )

Calculate the total block count for a Simulink model, including those in model references.

| Watch this File

File Information

This function will return the total number of blocks in a Simulink model hierarchy, including those that are inside model reference blocks. This is useful for large-scale modeling, so that you can determine the total model size. For comparison, the built-in function sldiagnostics('ModelName','CountBlocks') does not include anything inside model reference blocks.

Required Products Simulink
MATLAB release MATLAB 7.6 (R2008a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
01 Dec 2009 1.1

Updated copyright statements for BSD license

01 Sep 2016

Updated license

Contact us