Products & Services Solutions Academia Support User Community Company

Learn more about Genetic Algorithm and Direct Search Toolbox   

saoptimget - Values of simulated annealing options structure

Syntax

val = saoptimget(options, 'name')
val = saoptimget(options, 'name', default)

Description

val = saoptimget(options, 'name') returns the value of the parameter name from the simulated annealing options structure options. saoptimget(options, 'name') returns an empty matrix [] if the value of name is not specified in options. It is only necessary to type enough leading characters of name to uniquely identify the parameter. saoptimget ignores case in parameter names.

val = saoptimget(options, 'name', default) returns the 'name' parameter, but returns the default value if the 'name' parameter is not specified (or is []) in options.

Example

opts = saoptimset('TolFun',1e-4);
val = saoptimget(opts,'TolFun');

returns val = 1e-4 for TolFun.

See Also

For more about these options, see Simulated Annealing Options.

saoptimset, simulannealbnd

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS