Navigation

Operators and Keywords

Function List:

C++ API

optimget.m File Reference


Functions

 if (idx > 0 &&strcmpi(parname, opts{idx})) parname
else warning ("unrecognized option: %s", parname)
endif if (isfield(options, parname)) retval
 elseif (nargin > 2) retval

Variables

function retval
endif opts = __all_opts__ ()
 idx = lookup (opts, parname, "i")

Function Documentation

elseif ( nargin  ,
 
)

endif if ( isfield(options, parname)   ) 

if ( idx  ,
0 &&  strcmpiparname, opts{idx} 
)

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


Variable Documentation

idx = lookup (opts, parname, "i")

endif opts = __all_opts__ ()

else retval

Initial value:

 optimget (options, parname, default)

  if (nargin < 2 || nargin > 4 || ! isstruct (options) || ! ischar (parname))
    print_usage ()