This code first finds an ordered list of your images according to a time-stamp, or it could also do it based off the image number (assuming you saved images in order).
Then it can also calculate the fps if you have a time-stamp as follows: 'minutes_seconds_milliseconds'. By calculating the fps, the code will then save the images and write them into a video file according to the fps you calculated.
Cite As
Adam Li (2026). saveVideo.m (https://se.mathworks.com/matlabcentral/fileexchange/47406-savevideo-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Import, Export, and Conversion >
- FPGA, ASIC, and SoC Development > Vision HDL Toolbox > Video Formats and Interfaces >
- Image Processing and Computer Vision > Vision HDL Toolbox > Video Formats and Interfaces >
Find more on Import, Export, and Conversion in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
