Simulink Reference Previous page   Next Page
find_mdlrefs

Find the Model blocks in a model and the models that the Model blocks reference.

Syntax

Description

[refMdls, mdlBlks] = find_mdlrefs(modelName) or find_mdlrefs(modelName, true) finds all Model blocks contained by and models referenced by modelName directly or indirectly. The commands output arguments are

[refMdls, mdlBlks] = find_mdlrefs(modelName, false) finds only the Model blocks and models directly referenced by modelName.

Example

Open the mdlref_basic demo. Then execute

See Also
view_mdlrefs


Previous page  delete_param find_system Next page

© 1994-2005 The MathWorks, Inc.