function output = createOutputStruct(...
    fun, type, pmethod, maxconstr, smethod, iter, fcount, meshsize)
%

% Copyright 2020 The MathWorks, Inc.

output = struct(...
    'function',fun,...
    'problemtype',type,...
    'pollmethod',pmethod, ...
    'maxconstraint', maxconstr, ...
    'searchmethod',smethod,...
    'iterations',iter,...
    'funccount',fcount,...
    'meshsize',meshsize,...
    'rngstate',rng...
    );

end