How can I keep the non-Matlab command window open after executing an executable by double clicking it?
조회 수: 1 (최근 30일)
이전 댓글 표시
By double clicking an executable, a non-MATLAB window opens and after the execution, it immediately closes. How can I keep it open?
댓글 수: 1
Taylor
2024년 10월 21일
Are you able to provide more details? Assuming this is an EXE created by Compiler, can you share the code you compiled into the EXE?
채택된 답변
Matt J
2024년 10월 21일
There is very little context provided by the question, but if it is an executable created with the Matlab Compiler, then for example, this will launch a Windows cmd shell,
!start cmd
and it should persist.
댓글 수: 0
추가 답변 (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!