open-discussion > Problems with nirx2nirs
Showing 1-1 of 1 posts
Display:
Results per page:
Jul 16, 2015  05:07 PM | Christine Michel - Heidelberg University
Problems with nirx2nirs
Hi everyone,

 I recorded some data with nirx, put the .wl1, .wl2 and the .hdr fle in a folder together with a .SD file I created using the SDgui. 
Once running the nirx2nirs file I get the following error in Matlab:

Subscript indices must either be real positive integers or logicals.

Error in NIRx2nirs (line 109)
s(events(find(events(:,1)==markertypes(i)),2),i) = 1;

Any ideas why this happens? Any help is highly appreciated!!
Christine