view_mdlrefs

Display graph of model referencing dependencies without library dependencies

Description

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

example

view_mdlrefs(sys) opens the Model Dependency Viewer, which 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 Model Dependency Viewer for the model sldemo_mdlref_depgraph.

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

Introduced before R2006a