visualize
Class: simscape.multibody.CompiledMultibody
Namespace: simscape.multibody
Description
visualize(
opens the Mechanics Explorer to display the 3-D graphical representation of the compiled
multibody system, cmb
,state
,modelName
)cmb
, in the given state, state
. If the
Mechanics Explorer is already open, calling the visualize
method adds a new
tab to the visualization pane to display the compiled multibody system.
The Mechanics Explorer comprises a visualization pane, which displays the system, and a tree view pane that you can use to explore the system hierarchy. In the visualization pane, you can rotate, roll, pan, and zoom the model to more clearly view its components.
If the tab specified by modelName
is already in use, the Mechanics
Explorer replace the existing visualization with the new visualization.
If the given state has a status other than
simscape.multibody.StateStatus.Valid
, you can still use the
visualize
method to view the compiled multibody system, although some of
the kinematic loops in the system may not be closed.
Input Arguments
Version History
Introduced in R2022a