Navigation

Operators and Keywords

Function List:

C++ API

optimset.m File Reference


Functions

 if (nargs==0) if(nargout
 printf (" %s\n", opts{:})
 puts ("\n")
endif elseif (nargs==1 &&ischar(varargin{1})) fcn
catch error ("no defaults for function `%s'", fcn)
 if (i > 0 &&strcmpi(opts{i}, key)) key
else warning ("unrecognized option: %s", key)
endif endif old (key)
 elseif (rem(nargs, 2)&&isstruct(varargin{1})) retval
 elseif (rem(nargs, 2)==0) retval
else print_usage ()
endif endfunction !assert (optimget(optimset('tolx', 1e-2), 'tOLx'), 1e-2)%!assert(isfield(optimset('tolFun'

Variables

function retval
 opts = __all_opts__ ()
 new = varargin{2}
 fnames = fieldnames (old)
 validation = ! isempty (opts)
 for [val, key]

Function Documentation

endif endfunction !assert ( optimget(optimset('tolx', 1e-2), 'tOLx')  ,
1e-  2 
)

elseif ( rem(nargs, 2)  = =0  ) 

elseif ( rem(nargs, 2)&&isstruct(varargin{1})   ) 

endif elseif ( nargs  = =1 &&ischar(varargin{1})  ) 

catch error ( "no defaults for function `%s'"  ,
fcn   
)

if ( ,
0 &&  strcmpiopts{i}, key 
)

if ( nargs  = =0  ) 

endif endif old ( key   ) 

else print_usage (  ) 

printf ( " %s\n"   ) 

puts ( "\n"   ) 

else warning ( "unrecognized option: %s"  ,
key   
)


Variable Documentation

fnames = fieldnames (old)

for[val, key]

Initial value:

 new
      if (validation)

        i = lookup (opts, key, "i")

new = varargin{2}

opts = __all_opts__ ()

endfor retval

Initial value:

 optimset (varargin)

  nargs = nargin ()

validation = ! isempty (opts)