File Exchange

image thumbnail

Simulink Model Reference Total Block Count

version (1.78 KB) by

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



View License

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.

Comments and Ratings (0)


Updated license


Updated copyright statements for BSD license

MATLAB Release
MATLAB 7.6 (R2008a)

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

» Watch video

Win prizes and improve your MATLAB skills

Play today