display text when running exe in dos command window
조회 수: 1 (최근 30일)
이전 댓글 표시
After upgrading from Matlab 2015a to Matlab 2022a, I noticed that disp() function does not print anything when running the exe in dos command window. I want to see the display so I know the progress. How can I see the display again?
function dispTest
x = 5;
disp(x)
end
댓글 수: 0
채택된 답변
Walter Roberson
2023년 2월 6일
When you compile use the -m option; in particular do not use the -e option.
댓글 수: 2
Walter Roberson
2023년 2월 7일
The deploytool option you unchecked should be the same as using the -m option.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Compiler SDK에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!