-
Notifications
You must be signed in to change notification settings - Fork 221
Open
Description
I get the following error when calling data = readNPY('../recordings/iq_time_samples_13_57_53.npy');
Too many outputs requested. Most likely cause is missing [] around left hand side that has a comma separated list expansion.
Error in readNPYheader (line 54)
dataType = dtypesMatlab{strcmp(dtNPY(2:3), dtypesNPY)};
Error in readNPY (line 10)
[shape, dataType, fortranOrder, littleEndian, totalHeaderLength, ~] = readNPYheader(filename);
Error in main (line 90)
data = readNPY('../recordings/iq_time_samples_13_57_53.npy');
More information:
K>> dtNPY(2:3)
ans =
'c1'
K>> dtypesNPY
dtypesNPY =
1×11 cell array
{'u1'} {'u2'} {'u4'} {'u8'} {'i1'} {'i2'} {'i4'} {'i8'} {'f4'} {'f8'} {'b1'}
K>> strcmp(dtNPY(2:3), dtypesNPY)
ans =
1×11 logical array
0 0 0 0 0 0 0 0 0 0 0
K>> dtypesMatlab
dtypesMatlab =
1×11 cell array
Columns 1 through 9
{'uint8'} {'uint16'} {'uint32'} {'uint64'} {'int8'} {'int16'} {'int32'} {'int64'} {'single'}
Columns 10 through 11
{'double'} {'logical'}
Metadata
Metadata
Assignees
Labels
No labels