Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BoundsError when struct contains 3D char array #176

Open
TomRottier opened this issue Jun 26, 2022 · 0 comments
Open

BoundsError when struct contains 3D char array #176

TomRottier opened this issue Jun 26, 2022 · 0 comments

Comments

@TomRottier
Copy link

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")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant