sccn / labstreaminglayer

LabStreamingLayer super repository comprising submodules for LSL and associated apps.
Other
522 stars 157 forks source link

load_xdf error #72

Closed gkassis closed 3 years ago

gkassis commented 3 years ago

I am trying to load an xdd files but I keep getting the following error:

Insufficient number of outputs from right hand side of equal sign to satisfy assignment.

Error in getfield (line 57) f = s.(field);

Error in load_xdf (line 238) filesize = getfield(dir(filename),'bytes');

appreciate the advice.

dmedine commented 3 years ago

Can you please move this issue to the XDF repository: https://github.com/xdf-modules/xdf-Matlab/issues?

dmedine commented 3 years ago

I think your file or possibly the path is wrong. You can try setting a breakpoint on that line and stepping into the getfield function. Check that the argument s actually is the file information expected by the function dir. It should have all the usual directory information. On my machine the structure looks like this (for example) load_xdf :