Main Content

view_mdlrefs

Analyze and visualize model referencing dependencies without library dependencies

Description

view_mdlrefs opens the Dependency Analyzer with library dependencies omitted. To open a specific configuration of the Dependency Analyzer, use depview with programmatic options. The Dependency Analyzer provides the same options regardless of how you open it.

example

view_mdlrefs(sys) opens the Dependency Analyzer. It displays a graph of model referencing dependencies for the specified model. The nodes in the graph represent Simulink® models. The directed lines indicate model dependencies.

Examples

collapse all

Open the project that contains the sldemo_mdlref_depgraph model.

openProject('ModelReferenceHierarchy');

Open the Dependency Analyzer for the sldemo_mdlref_depgraph model.

view_mdlrefs('sldemo_mdlref_depgraph');

Input Arguments

collapse all

The full name or path of a model, specified as a character vector.

Data Types: char

Version History

Introduced before R2006a