User`s guide

Record Offline Animations
7-39
3-D VRML file — The Simulink 3D Animation software traces object movements
and saves that data into a VRML file using VRML97 standard interpolators. You
can then view these files with the Simulink 3D Animation Viewer. 3-D VRML
files typically use much less disk space than Audio Video Interleave (AVI) files. If
you make any navigation movements in the Simulink 3D Animation Viewer while
recording the animation, the Simulink 3D Animation software does not save any of
these movements.
Note If you distribute VRML animation files, be sure to also distribute all the inlined
object and texture files referenced in the original VRML world file.
2-D Audio Video Interleave (AVI) file — The Simulink 3D Animation software
writes animation data into an .avi file. The Simulink 3D Animation software uses
vrfigure objects to record 2-D animation files. The recorded 2-D animation reflects
exactly what you see in the viewer window. It includes any navigation movements you
make during the recording.
Note While recording 2-D .avi animation data, always ensure that the Simulink
3D Animation Viewer is the topmost window and fully visible. Graphics acceleration
limitations might prevent the proper recording of 2-D animation otherwise.
See the following topics:
“Record Files in the VRML Format” on page 7-40 — Describes how to configure
the record simulation parameters to create 3-D format animation files.
“Record Files in the Audio Video Interleave (AVI) Format” on page 7-42 —
Describes how to configure the record simulation parameters to create 2-D format
animation files.
“Schedule Files for Recording” on page 7-44 — Describes how to schedule record
simulation operations to occur automatically.
File Names
By default, the Simulink 3D Animation Viewer records simulations or captures virtual
scene frames in a file named with the following format:
%f_anim_%n.<extension>
This format creates a unique file name each time you capture a frame or record the
animation. %f and %n are tokens. %f is replaced with the name of the virtual world