MATLAB SIMULINK 3D ANIMATION - S Guia do Utilizador Página 117

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 490
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 116
Interact with a Virtual World with MATLAB
4-7
mynodes =
vrnode object: 13-by-1
Tunnel (Transform) [My first virtual world]
Road (Shape) [My first virtual world]
Bridge (Shape) [My first virtual world]
River (Shape) [My first virtual world]
ElevApp (Appearance) [My first virtual world]
Canal (Shape) [My first virtual world]
Wood (Group) [My first virtual world]
Tree1 (Group) [My first virtual world]
Wheel (Shape) [My first virtual world]
Automobile (Transform) [My first virtual world]
VPfollow (Viewpoint) [My first virtual world]
Camera_car (Transform) [My first virtual world]
View1 (Viewpoint) [My first virtual world]
3
Type
whos
The MATLAB Command Window displays the messages
Name Size Bytes Class
ans 1x1 132 vrfigure object
mynodes 13x1 3564 vrnode object
myworld 1x1 132 vrworld object
Now you can get node characteristics and set new values for certain node properties.
For example, you can change the position of the automobile by using Automobile,
which is the fourth node in the virtual world.
4
Access the fields of the Automobile node by typing
fields(myworld.Automobile)
or
fields(mynodes(10));
The MATLAB Command Window displays information like the following table.
Field Access Type Sync
Vista de página 116
1 2 ... 112 113 114 115 116 117 118 119 120 121 122 ... 489 490

Comentários a estes Manuais

Sem comentários