| Contents | Index |
| On this page… |
|---|
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.
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:
Display machines after updating diagram for static visualization
Show animation during simulation for dynamic animation
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.
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.

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.
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.
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.
You can display a static state of your model at different stages of modeling. Use static display in the initial state, during construction. Either:
Open the visualization before or while you build your model. You display each body as you add it to your model, if you also update the block diagram.
Having the visualization window open during model building lets you keep track of your model's bodies and how they are connected. You can see unphysical or mistaken constructions before you finish the model.
Open the visualization after you finish the model. All the bodies in the model appear together.
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.
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.
![]() | Introducing Visualization and Animation | About Body Color and Geometry | ![]() |

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 |