Generate video from Matlab figure

The .m file generate a video from animating a figure
32 téléchargements
Mise à jour 15 déc. 2021
What is this?
It is a script that animates a figure on Matlab, moreover you can save the animated figure as a video with arbitrary length time.
What do you need?
Any figure or set of figures using plot or plot3
Any number of subplots for each figure
Any number of pair data (x, y, z) or (x, y)
Any length of pair data
What will you obtain?
An animation of the data without changing any figure property
A video will be obtained if the option “generate video” is enabled
How to use it?
Step 1: Plot the desired figures (one animation per figure)
Step 2: Set the animation total time (in seconds)
Step 3: Verify if you want to save the animation as video (true or false)
Step 4: Run the script and let it to finish (write the name of the video when asked).
Step 5: Enjoy your animations

Citation pour cette source

David Bedolla Martinez (2024). Generate video from Matlab figure (https://github.com/BedollaDavid/videoFromMatlabFigure/releases/tag/v1.0.0), GitHub. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2019b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0

Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.
Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.