Heyho guys I got a little problem.
I want to open an Inquisit experiment in Matlab handing over the subj ID and group ID from matlab to Inquisit. Matlab uses the windows shell (checked the output matlab produced, its fine. It matches with your guide.) and I tried it manually in the windows shell too.
I used this guide:
http://www.millisecond.com/support/docs/v5/html/howto/howtocommandline.htmBut all I can do is open Inquisit but the IDs don´t get handed over. The id prompt window still appears. I don´t want the participant to punch in his id and group five times through the experiment.
Of course my path differs, but my command is this:
"C:\...\Inquisit.exe" "D:\....\Inq.exp" -s Bingo -g Bongo
While when I tried it in the win shell manually I just jumped to the file folder and used:
Inq.exp -s Bingo -g Bongo
Since I don´t know whats the cause I tried converting the file from Inq1.exp to Inq1.iqx. Didn´t matter.
I tried using two different PCs. Didn´t matter.
I tried doing the same thing with extra steps using a batch file using this guide:
http://www.millisecond.com/support/docs/v5/html/articles/batchscripts.htm. Didn´t work either.
Results are always the same. I can start Inquisit, but subject ID and group ID don´t get handed over and I have to punch them in by hand. Which I´d like to avoid.
What baffles me the most is, it used to work. With exactly the same code, I didn´t change it. Matlab wasn´t updated since it worked and neither was Inquisit which is still v4.
Is there a different command or a different way I can try to do this?
// Matlab Code Looks like this if it is of any interest. But since I can´t get it to work with the windows shell too and the output of matlab seems fine this is more for beeing thorough:
progfile = '"C:\...\...\...\Inq1.exp"';
command = sprintf('-s %s -g %s', progfile, SUBJID,GROUPID);
system(command)
SUBJID,GROUPID--> Variable defined at an earlier time.