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

1 view (last 30 days)
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.

Answers (1)

Abhilash Padma
Abhilash Padma on 7 Nov 2019
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

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!