nexus_categorical_matlab_mat_props
datafun · scripts/datafun/nexus_categorical_matlab_mat_props.m
NEXUS_CATEGORICAL_MATLAB_MAT_PROPS MATLAB categorical properties for MAT save.
MATLAB R2026a -v7.3 stores one categorical as a normal MCOS object.
categoryNames is a column cell of char rows. codes is an unsigned
integer array (uint8 while there are at most 255 categories). An
ordinal categorical also stores isProtected and isOrdinal, both true.
A non-ordinal omits those two; the class default is false. The Nexus
property is named ordinal. This returns the names and values MATLAB
writes.