calls to system() do not return, they leave me at shell prompt. Linux 2010b
Mostra commenti meno recenti
Good day.
I'm having a few issues with my setup of MATLAB. I'll start with one per thread.
My most important issue at the moment is when "system('foo') is called, instead of returning to >> after the call is done, I'm stuck in the shell.
Line breaks do not work as expected in this editor...
>>system('ls') %newline BASH$ < nothing happens > %newline BASH$ exit
file1 file2 file2
ans
>>
I am using code from another party which relies on the use of system() and I'm stuck with it.
Can someone please shed some light on this problem.
Cheers
UPDATE: I tried 'copyfile()' which must call cp under the hood. This also hangs and waits for 'exit', with the same behaviour as the above.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Startup and Shutdown in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!