Run linux command in background from matlab
3 次查看(过去 30 天)
显示 更早的评论
I want to run linux command from matlab Pl help
0 个评论
采纳的回答
Shivam
2023-7-9
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 个评论
Walter Roberson
2023-7-9
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!