Download Simulink 3D Animation User's Guide
Transcript
Play Animation Files 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. 4-31