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.
|
| Updates |
| 01 Dec 2009 |
Updated copyright statements for BSD license |
|
Contact us at files@mathworks.com