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") |
elseif | ( | nargin | , | |
2 | ||||
) |
if | ( | idx | , | |
0 && | strcmpiparname, opts{idx} | |||
) |
else warning | ( | "unrecognized option: %s" | , | |
parname | ||||
) |
idx = lookup (opts, parname, "i") |
else retval |