User`s guide
7 Viewing Virtual Worlds
7-42
Record Files in the Audio Video Interleave (AVI) Format
To create a 2-D AVI format file from a Simulink model execution, set recording
parameters. You can start the simulation before setting up the recording.
1
In the MATLAB Command Window, type the model name. For example:
vrplanets
The Simulink model is displayed. Also, by default, the Simulink 3D Animation
viewer for that model is loaded and becomes active. If the viewer is not displayed,
double-click the VR Sink block in the Simulink model.
2
From the Recording menu, choose Capture and Recording Parameters.
The Capture and Recording Parameters dialog box is displayed.
3
Find the Recording section of the dialog box. This is located under the Frame
Capture dialog box.
4
Select the Record to AVI file check box.
The File text field and Compression selection area become active, and the default
file name, %f_anim_%n.avi, appears in the text field.
To save files to other file names, see “File Name Tokens”.
5
Set the FPS (Frames Per Second) to an appropriate value.