fabien van mook

all packages "fvm-*"

package "fvm-record"

function file "fieldconvert.m"

Function [s,a] = fieldconvert(keys)

returns string s and cell array a 
which both are rewritings of the 
special cell array keys.

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

Cell array a is useful as follows:
  v = subsref(x,substruct(a{:}));
  y = subsasgn(y,substruct(a{:}),v);
and string s is useful for e.g.:
  eval([ " v = x" s ";" ]);
  eval([ " y" s " = v;" ]);


(c) 2026 fabien van mook

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