Run linux command in background from matlab
조회 수: 9 (최근 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!