Types and conversions

MAT.jl uses the following type conversions from MATLAB types to Julia types:

MATLABJulia
numerical arrayArray{T}
cell arrayArray{Any}
char arrayString
structDict{String,Any}
struct arrayMAT.MatlabStructArray
old class objectMAT.MatlabClassObject
new (opaque) classMAT.MatlabOpaque

A few of the MatlabOpaque classes are automatically converted upon reading:

MATLABJulia
stringString
datetimeDates.DateTime
durationDates.Millisecond
categoryPooledArrays.PooledArray
tableMAT.MatlabTable (or any other table)

Note that single element arrays are typically converted to scalars in Julia, because MATLAB cannot distinguish between scalars and 1x1 sized arrays.