HELP how to esc by the command system ?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi, I have a problem, when I use the command 'system()' to communicate with the 'line of command' I wont have a limited time for matlab to execute this function and if it is not finished at the end of this time I want to exit from the function 'system()'.
How can I do this?
The problem is that, when I use 'system()' Matlab is stopped on this command as long as it is finished, instead in this case, I want to interrupt this command before, and go head whit the script.
댓글 수: 0
답변 (1개)
MJFcoNaN
2022년 4월 24일
You can add "&" at the end of command to run it in backgroud.
system('mkdir aaa &')
댓글 수: 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!