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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 490
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 141
4 MATLAB Interface
4-32
The vrview command displays the default Simulink 3D Animation Viewer for the
animation file. Setting the TimeSource property of the set method to 'freerun'
directs the viewer to advance its time independent of the MATLAB software.
To stop the animation, type:
set(w,'TimeSource','external');
To close the viewer and delete the world, get the handle of the vrfigure object and close
it, as follows:
f=get(w,'Figures')
close(f);
delete(w);
Or, to close all vrfigure objects and delete the world, type
vrclose
delete(w);
Play AVI Animation Files
To view an AVI animation file, use one of these approaches:
Double-click the AVI animation file. The program associated with .avi files in your
system (for example, Windows Media
®
Player Media Player) opens for the .avi file. If
your .avi file is not yet running, start it now from the application. The animation file
runs.
Use the MATLAB VideoReader function.
Przeglądanie stron 141
1 2 ... 137 138 139 140 141 142 143 144 145 146 147 ... 489 490

Komentarze do niniejszej Instrukcji

Brak uwag