display text when running exe in dos command window
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Lijun Zou
le 6 Fév 2023
Commenté : Walter Roberson
le 7 Fév 2023
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 commentaires
Réponse acceptée
Walter Roberson
le 6 Fév 2023
When you compile use the -m option; in particular do not use the -e option.
2 commentaires
Walter Roberson
le 7 Fév 2023
The deploytool option you unchecked should be the same as using the -m option.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur MATLAB Compiler SDK dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!