How to create and export a GIF with uifigure?

4 views (last 30 days)
Giuseppe on 12 Jun 2021
Answered: Adam Danz on 12 Jun 2021
Hi guys, I've created and interactive geographic window in my code by using the following code:
uif = uifigure;
globe= geoglobe(uif);
spheroid = referenceEllipsoid('World Geodetic System 1984');
% Trajectory of CoG
fig_traj_3D = geoplot3(globe,vLat,vLon,vAltitude,'LineStyle',"-",'LineWidth',1.2,'Color','r');
I want to export this graphic window as an animated GIF. Is it possible?
If yes, how can I do?

Accepted Answer

Adam Danz
Adam Danz on 12 Jun 2021
Since the animation is not controlled within a loop, I think you're stuck with using 3rd party screen recorders. I recommend screen-to-gif. It's free and simple to use:

More Answers (0)




Community Treasure Hunt

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

Start Hunting!