How to save this model-learning-process animation figure as gif ?

1 次查看(过去 30 天)
Please try these lines as an example.
load(fullfile(matlabroot,'examples','stats','gprdata2.mat'));
gprMdl2 = fitrgp(x,y,'KernelFunction','squaredexponential',...
'OptimizeHyperparameters','auto','HyperparameterOptimizationOptions',...
struct('AcquisitionFunctionName','expected-improvement-plus'));
While running the second line, matlab will pop out two animation figures. How can I save them as GIF (so I can show in powerpoint)?
Thank you.

回答(1 个)

Abhilash Padma
Abhilash Padma 2019-11-7
Refer to the following link where similar kind of question has been answered: https://in.mathworks.com/matlabcentral/answers/94495-how-can-i-create-animated-gif-images-in-matlab

类别

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

标签

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by