Skip to Main Content Skip to Search
Product Documentation

About SimMechanics Visualization

Starting Visualization

Starting SimMechanics visualization requires two choices, one for your entire model, the second for each machine in your model. These choices are part of configuring your model for simulation, as discussed in Starting Visualization and Simulation in the SimMechanics User's Guide. Implement your visualization choices at any time by clicking Apply or OK.

Enabling Visualization for an Entire Model

You enter the visualization settings for an entire model in the Visualization area of the SimMechanics node of the Configuration Parameters dialog. To open visualization, you must select at least one of these check boxes.

Model-wide visualization is turned off by default.

To start visualization, you must select at least one of the first two check boxes:

Select the Show only port coordinate systems check box if you want to visualize only those Body coordinate systems with visible ports on their respective Body blocks in the model. The default is unselected, so that all Body coordinate systems are visualized on their respective bodies.

Visualizing All Bodies in a Machine

You can choose whether or not to visualize a specific machine in your model through the Visualization tab of its Machine Environment block dialog. A single window displays all selected machines in a model.

By default, each machine is selected for visualization. If you turn off machine visualization, your choice only affects that machine, not the entire model.

Other SimMechanics Visualization Controls

All other visualization controls are located on the SimMechanics visualization window itself. You can access them once the window is open, as discussed in the Getting Started with the Visualization Window chapter following.

You control custom visualization choices for individual bodies in their respective Body dialogs.

Using Visualization

The visualization chapters guide you in making appropriate SimMechanics visualization choices, including why you might want to visualize your model's bodies and animate their motion.

Display Versus Animation

SimMechanics visualization serves two distinct purposes, static and dynamic. In both cases, you can change your observer viewpoint and navigate through the scene, as well as change the visualized body properties.

Static Display

You can display a static state of your model at different stages of modeling. Use static display in the initial state, during construction. Either:

Also use static display after a simulation ends, or after you pause or stop it. In these cases, the visualization window shows the model at later times or in the final state.

Dynamic Animation

You can also display an animation of body motion while the SimMechanics model is running. Use this feature to watch the model's dynamics in three dimensions and visualize motions and relationships more easily than is possible with Scope blocks alone.

  


Related Products & Applications

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