of the default parameters for a
% particular method. Once the structure of default parameters has been
% created, the individual parameters (i.e., fields in the structure) can be
% changed. Below is an example of this for the |ncg| method.
params = ncg('defaults');
params.MaxIters = 1;
ncg(@(x) example1(x,3), pi/4, params);
%%
% *Case 4: Using parameters from one run in another run.*
%
% One of the outputs returned by the Poblano optimization methods is the
% |inputParser| object of the input parameters use