This question is closed. Reopen it to edit or answer.
Matlab system command produces output on matlab command line
5 views (last 30 days)
I am using Matlab's system() command to call an external Program (Praat) to run a (Praat) script. I didn't want Matlab to do anything but that. But after doing the call to system(), an output is produced in my Matlab command line without any meaning
the input to the system command is
praatcommand = ['Praat.exe --run extractPitch.praat.txt "' source '" praatOutputTemp.txt'];
which runs the specified Script in the background on the input file 'source' and outputs data in the specified text file.
Then this happens on my Matlab command line:
the second line appears. I have no idea why. If i run the same call directyl in the cmd, everything is fine also.
Anyways, if I append a ' &' at the end of the system call, it does not happen (so there is no Problem).
Is this a bug or why does it happen? Or is the reason some echo calls inside the script?
I appended the Praat script for completeness.