fabien van mook

all packages "fvm-*"

package "fvm-record"

function file "fieldget.m"

Function v = fieldget(x,keys);
         v = fieldget(x,keys,defaultvalue);

returns the value of the field indicated
by the special cell array keys, which 
should represent an existing field path
in matrix, cell array or struct x.

Cell array keys is defined in the
help text of function fieldcheck().

If the indicated field does not exist,
the value of the third input argument
is returned. This is done only if the
third input argument is input, and it
does not contain the string "_nodefault_".


(c) 2026 fabien van mook

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