open-ephys / analysis-tools

Archived code for reading data saved by the Open Ephys GUI
59 stars 176 forks source link

Session? #107

Open ShivaniBITS25 opened 7 months ago

ShivaniBITS25 commented 7 months ago

directory = '/path/to/data/2020-11-10_09-28-30'; %for example

session = Session(directory). Im getting an error of an unrecognized function for Session. How do we define it before?

medengineer commented 7 months ago

Hi,

You need to add the open-ephys-matlab-tools folder to the Matlab path for Session to be recognized. You can do this by navigating to open-ephys-matlab-tools in the Current Folder pane, right-click on on the folder and select 'Add to Path' -> 'Selected Folders and Subfolders'.