
Function c = struct2kvpairs(r) returns a row cell-array c with the key-value pairs of each field in given struct r. The fields are not ordered. Equivalent is the standard m-file namedargs2cell.m. (c) 2026 fabien van mook 2026.08.20 release of this file within package "fvm-miscellaneous" under GNU GPLv3+