vlt.data.columnize_struct
vlt.data.columnize_struct - turn all vector substructures into columns
S_OUT = COLUMNIZE_STRUCT(S_IN, ...)
Given a structure S_IN, that potentially has structures as fields,
return an almost equivalent structure S_OUT where all of the structure vector arrays
are organized in columns.
This function is useful because, when converting a Matlab structure to and from
JSON using JSONENCODE and JSONDECODE, sometimes the row/column ordering of structure
vectors is altered.
Options:
columnizeNumericVectors (default false) - if true, any numeric vectors
found in the fields will be converted to column vectors.