To visualize a frame or frame network, you can use the Graphic block. By connecting this block to a frame, you add a graphic icon to that frame. The graphic icon has zero inertia and it does not affect model dynamics during simulation. In this example, you use Graphic blocks to add graphic icons to the box frame tree that you modeled in a previous example. See Represent Box Frame Tree.
To add a graphic icon to each frame in your model:
This is the model that you created in example Represent Box Frame Tree.
From the Body Elements library, drag 12 Graphic blocks to that model.
Connect and name the blocks as they appear in the figure.
Double-click each Graphic block.
In the dialog box, specify parameters according to the following table.
|World Frame Graphics|
|Vertex I Graphics|
|Vertex A Graphics|
|Vertex E Graphics|
|Vertex B Graphics|
|Vertex F Graphics|
|Vertex C Graphics|
|Vertex G Graphics|
|Vertex D Graphics|
|Vertex H Graphics|
|Vertex J Graphics|
|Vertex K Graphics|
You can now visualize your model in Mechanics Explorer. To do this, on the Simulink® menu bar, select Simulation > Update Diagram. Mechanics Explorer opens with a static 3-D display of your model. Rotate, pan, and zoom to explore.