huppertt / nirs-toolbox

Toolbox for fNIRS analysis
89 stars 61 forks source link

Issue loading NirX files #29

Open inichoso opened 1 year ago

inichoso commented 1 year ago

I am attempting to load NirX .nirs files into MATLAB with the basic command data = nirs.io.loadNIRx('participant'); but no matter the file, I am getting the error

Output argument "probe" (and maybe others) not assigned during call to "nirs.io.loadNIRxProbe".

Error in nirs.io.loadNIRx (line 21) probe=nirs.io.loadNIRxProbe(folder,registerprobe);

I ran this exact code about six months ago with the exact same data and had no problems. Is anyone else experiencing a similar issue?

inichoso commented 1 year ago

I also keep getting this error message at the end: Expected one output from a curly brace or dot indexing expression, but there were 0 results.

Raya2023 commented 1 year ago

If it's .nirs file, did you try to use nirs.io.loadDotNirs() instead?

shatton412 commented 10 months ago

I am now having this same issue as well despite all my files being NIRX files. Any tip to fix this?