Simcenter Prescan Prescan Viewer capture functionality

2021-12-06T15:03:17.000-0500
Prescan

Summary

This functionality allows the user to create a video mp4 of a Prescan simulation


Details

-----------------------------------------------------------------------------------------------------------------------------------------------
USAGE
1) Download the attached file 'PrescanViewerCaptureFunctionality.zip'

2) Open the Simulink file 'replayBlock.slx'


3) Place the Simulink block 'captureVideoPrescanViewer_sfun' in the model you want to record
image.png

4) Set the captureVideoPrescanViewer_sfun.m file in the MATLAB path or place it in the experiment folder.

5) Set the sendKeys.bat in the MATLAB path or place it in the experiment folder.

6) Run the simulation. After the simulation stops you will find the recorded video in the ‘ViewerCapture’ folder.

-------------------------------------------------------------------------------------------------------------------------------------------
CAPTURE REAL-TIME
In order to record a video which replays real-time, do the following:
1)Set the Simulation time scale to 1 in the Prescan GUI
image.png

2)Set the Prescan Viewer frequency to 60Hz
image.png


 

KB Article ID# KB000046606_EN_US

Contents

SummaryDetails

Associated Components

Documentation Installer License Software