Run linux command in background from matlab
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jay Shewale
am 9 Jul. 2023
Bearbeitet: Jay Shewale
am 9 Jul. 2023
I want to run linux command from matlab Pl help
0 Kommentare
Akzeptierte Antwort
Shivam
am 9 Jul. 2023
Hi Jay, for running linux command in background from matlab, you can use system("your_command &") , & after the command ensure that's the command runs on background.
3 Kommentare
Walter Roberson
am 9 Jul. 2023
getenv('SHELL')
system('echo $0')
So at least on MATLAB Online, any command you send to system() is processed as a bash command, and can use full syntax for I/O redirection and any multiple-process support.
Weitere Antworten (0)
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!