12.07.2015 Views

What Is Optimization Toolbox?

What Is Optimization Toolbox?

What Is Optimization Toolbox?

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

optimgetPurposeSyntaxDescriptionExamples<strong>Optimization</strong> options valuesval = optimget(options,'param')val = optimget(options,'param',default)val = optimget(options,'param') returns the value of the specifiedoption in the optimization options structure options. You need to typeonly enough leading characters to define the option name uniquely.Case is ignored for option names.val = optimget(options,'param',default) returns default if thespecified option is not defined in the optimization options structureoptions. Note that this form of the function is used primarily by otheroptimization functions.This statement returns the value of the Display option in the structurecalled my_options.val = optimget(my_options,'Display')This statement returns the value of the Display option in the structurecalled my_options (as in the previous example) except that if theDisplay option is not defined, it returns the value 'final'.optnew = optimget(my_options,'Display','final');See Alsooptimset8-183

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!