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

3 views (last 30 days)
QuanCCC
QuanCCC on 2 Oct 2019
Answered: Abhilash Padma on 7 Nov 2019
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

Tags

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by