__nexus_prepare_for_mat_save__
table · scripts/table/__nexus_prepare_for_mat_save__.m
NEXUS_PREPARE_FOR_MAT_SAVE Walk values before MAT save without flattening objects.
Classdef objects (table, categorical, duration, containers.Map, and plain
classdef values) are written by the MAT subsystem in MATLAB's MCOS layout.
Flattening a table here is what made MATLAB load a Nexus -v7.3 file as a
struct of columns. Cells and structs are still walked so a nested object
is left as an object too.
A struct-shaped table (not a classdef) is left for an optional toolbox
mat_save_normalize hook. With no hook registered it is unchanged.