====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
analysis:adrlab [2013/07/03 15:25] mvdm [Basic data loading] |
analysis:adrlab [2018/04/17 15:20] (current) |
||
---|---|---|---|
Line 21: | Line 21: | ||
===== Basic data loading ===== | ===== Basic data loading ===== | ||
- | The below will only work if you have grabbed the vandermeerlab code base and added it to your MATLAB path ([[computing:matlabsetup|instructions]]). | + | The below will only work if you have grabbed the vandermeerlab code base and added it to your MATLAB path ([[computing:matlabsetup|instructions]]). If you are using a Mac, you will need to get the data loading files from Neuralynx and add them to the relevant folders (you'll know where when you get errors upon trying to load something). |
First, change your current (working) folder to the recording session of interest. | First, change your current (working) folder to the recording session of interest. | ||
Line 44: | Line 44: | ||
<code matlab> | <code matlab> | ||
- | >> csc = LoadCSC(FindFile('*1a.Ncs'),'ConvertToS',1); | + | >> csc = LoadCSC(FindFile('*CSC1a.Ncs'),'ConvertToS',1); |
>> plot(Range(csc),Data(csc)); | >> plot(Range(csc),Data(csc)); | ||
</code> | </code> |