inputdlg() now crashes.

13 vues (au cours des 30 derniers jours)
Gavin
Gavin le 14 Août 2025
Commenté : Gavin le 4 Nov 2025
My program has been running fine for months. I updated Windoze 11 as MS kept bugging me to do and now inputdlg() doesn't work. After much frustration looking at my program I isolated it by just trying
answer = inputdlg("Enter a Mouse Name","Mouse Name",[1 30],"JUNK");
at the command line and the box pops up and then the program hangs. Appdesigner is dead, MATLAB is dead the only recourse it Task Manager kill!
  15 commentaires
Image Analyst
Image Analyst le 24 Août 2025
Well, when you're there, call tech support and set up a screen sharing session so they can debug it and fix it for you.
Martijn
Martijn le 10 Sep 2025
Modifié(e) : Martijn le 10 Sep 2025
I have a similar issue (R2025A on Windows 11). My codes used to run on R2024 on Windows 10 without any issue. After migrating to Windows 11 and installing R2025A, my codes hangs anytime I call drawnow. I noticed that drawnow is also in the inputdlg code.
Update: A computer reboot did the trick in my case.

Connectez-vous pour commenter.

Réponses (1)

Manan
Manan le 13 Oct 2025
Thank you for bringing this to our attention. If you or anyone else encounters this crash issue, please reach out to MathWorks Technical Support with the details. Our team will be happy to assist you further.
  1 commentaire
Gavin
Gavin le 4 Nov 2025
I upgraded to MATLAB 2025 (a and then b) and this particular issue has not returned. However now I get a crash (which I have reported several times) when a button is pressed and the button color is changed. Occurs randomly maybe 10% of the time, I haven't counted. Not every crash offers me to report it when I close it with Task Manager. Have a look at my crash reports and associated emails.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits


Version

R2025a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by