simnibs / simnibs

Simulation of Non-Invasive Brain Stimulation
http://www.simnibs.org
GNU General Public License v3.0
112 stars 37 forks source link

Error running SimNIBS script in MATLAB 2021b #303

Open enemonsieur opened 3 months ago

enemonsieur commented 3 months ago

I'm trying to run the default script for MATLAB (using 2021.b) and I encounter this error:

Error using run_simnibs (line 30)
There was an error running SimNIBS:
 usage: simnibs [-h] [--cpus CPUS] [--version] simnibs_file
simnibs: error: unrecognized arguments:
Monsieur\AppData\Local\Temp\tp7ddf4dad_53e2_46e8_93fd_8d3a09d87b76.mat

Error in simNIBS_Ene_test0525 (line 59)
    run_simnibs(S)

Any idea what could be causing this? It seems like an error with calling simnibs from matlab. However, I can load SimNIBS using the GUI without any issues.

oulap commented 3 months ago

Try having a look at this discussion #204

Maybe that will solve it.