How to create and export a GIF with uifigure?

7 views (last 30 days)
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: https://www.screentogif.com/

More Answers (0)

Categories

Find more on Animation in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!