Main Content

view_mdlrefs

Analyze and visualize model referencing dependencies without library dependencies

Description

view_mdlrefs(mdl) opens the Dependency Analyzer, which displays a graph of model reference dependencies for the model specified by mdl. Each node in the graph represents a model. The dependency arrows indicate model dependencies.

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

example

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");

Dependency Analyzer displaying model hierarchy of sldemo_mdlref_depgraph

Input Arguments

collapse all

Model name or path, specified as a character vector or string scalar.

Data Types: char | string

Version History

Introduced before R2006a