How to create and export a GIF with uifigure?

6 次查看(过去 30 天)
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?

采纳的回答

Adam Danz
Adam Danz 2021-6-12
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/

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Animation 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by