| Contents | Index |
view_mdlrefs('modelName')
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.

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |