-
Notifications
You must be signed in to change notification settings - Fork 64
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
Error when importing empty cell array #149
Comments
Minimal working exampleCreating a variable in MATLAB using
which displays as
and saving it
I try to import it in Julia using
I get the error and stacktrace
. However, if I manually initialise the values of my cell array in MATLAB, as such
my variable still displays as
but this time when I run in Julia
I get the correct behaviour
This may mean that the initialisation of cells in a cell array by the command |
I think I've got to the root of the problem... Using If I do
to create the cell array, I import it in Julia using
whereas if I initialise the cell array with
I import it in Julia using
Notice the difference in shape and variable type! This should prove useful when debugging this issue. Best, |
Thanks for the detailed bug report and MWE. |
Hi,
See first answer below, I have provided a minimal working example now. The problem is with a cell array of any size containing uninitialised values.
On Julia 1.0.2 and MATLAB.jl v"0.7.0", with a
4x4 cell array
MATLAB variable containing1200001 x 1 double
(4 of them, on the first row) and[]
(on the other rows),I run
and get the error
with the stacktrace
I do not have time to provide a minimal working example (MWE) at the moment. I have provided an MWE now.
Best,
Max
The text was updated successfully, but these errors were encountered: