MAT.jl icon indicating copy to clipboard operation
MAT.jl copied to clipboard

BoundsError when struct contains 3D char array

Open TomRottier opened this issue 2 years ago • 0 comments

MWE:

In Matlab create struct with 3D char array and save as .mat

c1 = ['abc'; 'abc'];
char_array3D = cat(3, c1, c1)
s = struct('c', char_array3D)
save('s.mat', 's')

In Julia read .mat file containing 3D char array

using MAT
d = matread("s.mat")

TomRottier avatar Jun 26 '22 15:06 TomRottier