How to make a gif or video file from multiple *.dat* files using Matlab?

1 回表示 (過去 30 日間)
Huzaif Rahim
Huzaif Rahim 2020 年 7 月 22 日
回答済み: Serhii Tetora 2020 年 7 月 22 日
Hi everyone.
I have a series of .dat files (i.e. almost 10,000 .dat files). Each .dat file represents an image at a certain time step of a simulation. I have plotted single .dat file with Matlab.
Is there any way to combine all these .dat files into a single "gif" or a "video file" using Matlab??
Thanks in advance!.

回答 (1 件)

Serhii Tetora
Serhii Tetora 2020 年 7 月 22 日
use
getframe
and
writeVideo
in for-loop

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by