save a movement as a video

조회 수: 4 (최근 30일)
sarah nik
sarah nik 2013년 9월 2일
댓글: Walter Roberson 2024년 11월 25일
Does anyone know how to capture a video during the matlab running process. I mean, the file can be save as a video at the end.

답변 (1개)

Harsh
Harsh 2024년 11월 24일
Hi sarah,
You can use the “getframe” function to capture the current axes or a figure. Then use “writeVideo” function to write those frames to a video. Please note that a VideoWriter” object needs to be created to which a video can be written using the “writeVideo” function. Please refer to the following documentation links to understand more about the above-mentioned functions:
  댓글 수: 1
Walter Roberson
Walter Roberson 2024년 11월 25일
Note: VideoWriter() did not exist at the time the question was originally asked.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by