Run linux command in background from matlab
9 views (last 30 days)
Show older comments
I want to run linux command from matlab Pl help
0 Comments
Accepted Answer
Shivam
on 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 Comments
Walter Roberson
on 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.
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!