problem of Dos window about the information of data postprocessing

1 vue (au cours des 30 derniers jours)
zhiping
zhiping le 11 Mai 2011
hello, I met a problem about dos window. For postprocessing,I wrote a sript, and in every step, I added an informatin about what it happened. I used the command 'disp()' to give a clue. After I compilered my script, when I ran the file .exe, there is not the dos window about the information that I added(R2011a). But in the version of R2009, it had a dos windows. I thought this is because of the new version of matlab. But I want to keep this function,what should I do? thinks a lot in acvance.

Réponse acceptée

Kaustubha Govind
Kaustubha Govind le 11 Mai 2011
You have probably compiled your project as a "Windows Standalone" (if using deploytool) or used the mcc -e option, which suppresses the DOS command window. You can simply compile as a "(Console) Standalone" to keep the DOS window.
  1 commentaire
zhiping
zhiping le 12 Mai 2011
Thank you very much. I tried to compile again as a 'Standalone', it works very well. Thanks again, :-)

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Compiler 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!

Translated by