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!