- Open Matlab
- Go to PlotProbe2 folder on Matlab
- Add PlotProbe2 to matlab path by running
addpath(genpath('.'))
command on matlab command window - Go to the folder where snirf file is located or use probe.snirf file present in the PlotProbe2 folder
- Run below commands on matlab command window
obj = SnirfClass('probe.snirf');
PlotProbe2(obj);
- Note that your filename could be different from
probe.snirf
, so pass appropriate filename toSnirfClass