MATLAB SIMULINK 3D ANIMATION - S Podręcznik Użytkownika Strona 113

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 490
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 112
Create vrworld Object for a Virtual World
4-3
1
Open MATLAB. In the MATLAB Command Window, type
myworld = vrworld('vrmount.wrl')
The MATLAB Command Window displays output like
myworld =
vrworld object: 1-by-1
VR Car in the Mountains
(matlabroot/toolbox/sl3d/vrdemos/vrmount.wrl)
2
Type
vrwhos
The MATLAB Command Window displays the messages
Closed, associated with
'C:matlabroot\toolbox\sl3d\sl3ddemos\vrmount.wrl'.
Visible for local viewers.
No clients are logged on.
The vrworld object myworld is associated with the virtual world vrmount.wrl. You
can think of the variable myworld as a handle to the vrworld object stored in the
MATLAB workspace.
Your next step is to open a virtual world using the vrworld object. See “Open a Virtual
World with MATLAB”.
Przeglądanie stron 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 489 490

Komentarze do niniejszej Instrukcji

Brak uwag