view_mdlrefs - Display graph of model reference dependencies

Syntax

view_mdlrefs('model_name')

Description

view_mdlrefs('model_name') launches the Model Dependency Viewer, which displays a graph of model reference dependencies for the model specified by model_name. 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 model_name 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 or by using the Simulink GUI. See Using the Model Dependency Viewer for details. To see a demo of the Model Dependency Viewer, type sldemo_mdlref_depgraph in the memory integrity checking option is enabled in the MATLAB® Command Window.

See Also

find_mdlrefs

  


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