fabien van mook

all packages "fvm-*"

package "fvm-optionmanip"

function file "optionfind.m"

Function icopt = optionfind(copt,key)
         c     = optionfind(copt,{key1,key2,...})

returns a vector of indices in copt for which the
keys (i.e. odd elements in copt) are equal to
the input string key.

If input argument key is a cell-array of strings, 
the output is a cell-array c consisting of 
vectors icopt.

The cell-array copt for a given option string sopt
is returned by optionsplit(sopt). 

See the help text of m-file optionindex.m for
the (assumed) pattern of options in sopt.


(c) 2026 fabien van mook

2026.08.20 release of this file within package "fvm-optionmanip" under GNU GPLv3+