SimMechanics    

Visualizing with Handle Graphics

The Handle Graphics-based visualization tool is built into SimMechanics. To choose this visualization mode:

  1. Use the Draw machine using menu to pick MATLAB Graphics.
  2. Now click Apply or OK to apply all your visualization choices.
  3. A MATLAB Handle Graphics window appears.

The displayed figure depends on the body representation you choose. The convex hull appears.

Handle Graphics Window for Pendulum Rod (Convex Hull)

You can change the viewpoint and manipulate the image using standard Handle Graphics techniques. Consult Viewing Machines with Handle Graphics in Visualizing and Animating Machines as well. Experiment with the special SimMechanics menu's settings to see different ways of displaying the pendulum.

When you start the model, the body in the graphics window moves in step with the simulation.


  Representing the Bodies Visualizing with Virtual Reality