User`s guide
Record Offline Animations
7-41
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. This is located under the Frame Capture
dialog.
4
Select the Record to VRML file check box.
The File text field becomes active and the default file name, %f_anim_%n.wrl,
appears in the text field.
To save files to other file names, see “File Name Tokens”.
5
Click OK.
After you define an animation file, you can manually record simulations. See “Start and
Stop Animation Recording” on page 7-40. If you want to record simulations on a
schedule, see “Schedule Files for Recording” on page 7-44.