Open blesstian opened 1 year ago
At that line, the code just verifies the name of the .fNIRS file to see if is valid.
You could comment the line 64 (adding % in front) to see if the mistake is due to the MATLAB version you use: % assert(isfile(inputsnirf),"Input SNIRF doesn't exists."); % Check if the file still exists (could have been deleted in the meanwhile.) I do not test the snirf file from Cortivision if you like me to test you can send me a sample of file.
Best !
After testing, if I read only one snirf file at a time, it can be read successfully, if I read more than one file, it reports an error。 13-Oct-2023 22:30:43 - Failed 'Read .snirf' Output argument "out" (and possibly others) not assigned a value in the execution with "nirs_run_readSNIRF" function.
No executable modules, but still unresolved dependencies or incomplete module inputs. The following modules did not run: Failed: Read .snirf
I've sent you a zip containing two snirf files for your testing. 20230711 01 02 002.zip
An error occurred while I was reading snirf file with lionirs 13-Oct-2023 17:16:15-Failed 'Read.snirf' Using feval incorrectly Error: File :nirs_run_readSNIRF.m Row :64 column :27 The input character is not a valid character in a MATLAB statement or expression.
The following modules did not run: Failed: Read .snirf
My matlab version is R2014a. Snirf files were collected with portable devices from Cortivision.