error: not enough input arguments
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Getting the following error message while trying to run the script "new_task_horizon" (attached). I have a "datadir" folder one level above the folder where the script is; tried putting it in the same folder, get the same error message. I have successfully run this script before, albeit years ago, on a different machine. Thanks for any advice!
>> new_task_horizon
Not enough input arguments.
Error in new_task_horizon (line 87)
obj.datadir = datadir;
0 Kommentare
Antworten (1)
Torsten
am 10 Feb. 2023
Verschoben: Torsten
am 10 Feb. 2023
You didn't specify the inputs to the function "new_task_horizon".
It is called as
new_task_horizon(stimdir, datadir, subjectID)
after specifying stimdir, datadir and subjectID.
2 Kommentare
Torsten
am 10 Feb. 2023
Bearbeitet: Torsten
am 10 Feb. 2023
It is not a question of whether you are new to matlab or not - you must know the code and what the inputs are for in order to answer this.
It seems that the first two arguments are directory names and the last one is a number, but I don't know.
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!