open-ephys / open-ephys-matlab-tools

Matlab code for interacting with the Open Ephys GUI
MIT License
11 stars 8 forks source link

Error using reshape #6

Open CameronGlick opened 1 year ago

CameronGlick commented 1 year ago

Simple Script:

directory = 'Path\2023-03-24_11-41-10'; session = Session(directory)

Error:

Searching directory: Path Found recording format: Binary

Error using reshape Size arguments must be real integers.

Error in BinaryRecording/loadContinuous (line 85) stream.samples = reshape(data.Data, [stream.metadata.numChannels, length(data.Data) / stream.metadata.numChannels]);

Error in BinaryRecording (line 40) self = self.loadContinuous();

Error in BinaryRecording.detectRecordings (line 254) recordings{end+1} = BinaryRecording(recordingDirectories{recIdx}, expIdx, recIdx);

Error in RecordNode/detectRecordings (line 95) self.recordings = BinaryRecording.detectRecordings(self.directory);

Error in RecordNode (line 71) self.detectRecordings();

Error in Session/detectRecordNodes (line 70) self.recordNodes{end+1} = RecordNode(paths{i});

Error in Session (line 61) self.detectRecordNodes();

Error in GetEEG_Sung_Soo_home (line 7) session = Session(directory)

medengineer commented 1 year ago

Is this still an issue using v1.3.0?