display text when running exe in dos command window
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Lijun Zou
el 6 de Feb. de 2023
Comentada: Walter Roberson
el 7 de Feb. de 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 comentarios
Respuesta aceptada
Walter Roberson
el 6 de Feb. de 2023
When you compile use the -m option; in particular do not use the -e option.
2 comentarios
Walter Roberson
el 7 de Feb. de 2023
The deploytool option you unchecked should be the same as using the -m option.
Más respuestas (0)
Ver también
Categorías
Más información sobre MATLAB Compiler SDK en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!