Code covered by the BSD License  

Highlights from
Simulink Model Reference Total Block Count

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

Simulink Model Reference Total Block Count

by Robyn Jackey

 

03 Jul 2008 (Updated 01 Dec 2009)

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

| Watch this File

File Information
Description

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  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
01 Dec 2009

Updated copyright statements for BSD license

Tag Activity for this File
Tag Applied By Date/Time
simulink Robyn Jackey 22 Oct 2008 10:08:25
simulink model reference count blocks sldiagnostics total refere Robyn Jackey 22 Oct 2008 10:08:25
model reference Seth Popinchalk 16 Sep 2009 17:29:52
diagnostics Seth Popinchalk 16 Sep 2009 17:30:04

Contact us at files@mathworks.com