User`s guide
Record Offline Animations
7-43
Set FPS to auto if you want to use the sample time of the associated VR Sink block
to make the file playback correspond to the model simulation time.
For example, to record a Simulink simulation with 25 frames per second (of the
simulation time), in the VR Sink block set Sample time to be 0.04. In that
situation, if you want to create an AVI file where 1 second of simulation time
corresponds to 1 second of AVI file playback time, set the FPS parameter to auto.
Simulink 3D Animation saves the value 25 into the AVI file FPS parameter.
Note: For a virtual world not associated with a Simulink model, or if the sample
time of the associated VR Sink block cannot be determined at simulation start time,
an FPS setting of 15 is used, even if you set FPS to auto.
6
From the Compression list, select a compression method for the .avi file. Because
.avi files can become large, you might want to compress the .avi file.
Choose from
• Autoselect — Allows the Simulink 3D Animation software to select the most
appropriate compression codec. This option allows you to specify a quality setting
that is a number between 0 and 100. Higher quality numbers result in higher
video quality and larger file sizes. Lower quality numbers result in lower video
quality and smaller file sizes.
• Lossless — Forces the Simulink 3D Animation software to compress the
animation file without loss of data. (Typically, the compression of files sacrifices
some data.)
• User Defined — Enables you to specify a particular compression codec. This
option allows you to specify a quality setting that is a number between 0 and 100.
Higher quality numbers result in higher video quality and larger file sizes. Lower