Products & Services Solutions Academia Support User Community Company

Learn more about Simulink   

view_mdlrefs - Display graph of model reference dependencies

Syntax

view_mdlrefs(modelName)

Description

view_mdlrefs(modelName) launches the Model Dependency Viewer, which displays a graph of model reference dependencies for the model specified by modelName. The nodes in the graph represent Simulink models. The directed lines indicate model dependencies.

The default display omits library blocks. You could see this same display by opening modelName and choosing Tools > Model Dependencies > Model Dependency Viewer > .mdl File Dependencies Excluding Libraries from the model menu. Use View > Dependency Type to see other dependency displays.

The Model Dependency Viewer is the same tool, and provides the same options, whether you launch it by typing view_mdlrefs(modelName or by using the Simulink GUI. To see a demo of the Model Dependency Viewer, type sldemo_mdlref_depgraph in the MATLAB Command Window.

See Also

find_mdlrefs | Model

Tutorials

How To

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS