inputdlg() now crashes.
Mostrar comentarios más antiguos
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 comentarios
Gavin
el 14 de Ag. de 2025
dpb
el 14 de Ag. de 2025
First make sure to have any MATLAB and Windows updates installed just in case there was some known issue in one of those.
Did the symptom also come with the move to R2025a or was it running before on R2025a?
Any chance of having an earlier release of MATLAB still installed that could test?
It none of the above resolves the issue, submit this to Mathworks as an official support request/bug at <Product Support Page>
Star Strider
el 14 de Ag. de 2025
This sort of idiocy in Micro$oft's part is one of the reasons I upgraded to Linux (Ubuntu 24.04).
I suggest that you consider doiing the same. It's free, it's well-supported, and it actually works (much better than whatever Micro$oft is doing these days). Firefox and Thunderbird work well with it, as does MATLAB.
That doesn't immediately solve your problem, however it definitely points you in the correct direction!
shantanu
el 18 de Ag. de 2025
I tried this below mentioned command only on command window. I am also using MATLAB R2025a and windows 11 and it worked fine for me without any crashes or errors. Could you tell me more about your workflow or what led to this crash.
answer = inputdlg("Enter a Mouse Name","Mouse Name",[1 30],"JUNK");
Gavin
el 18 de Ag. de 2025
Gavin
el 18 de Ag. de 2025
Gavin
el 18 de Ag. de 2025
Gavin
el 22 de Ag. de 2025
Gavin
el 22 de Ag. de 2025
"Anything else I should try?"
Contact technical support: https://www.mathworks.com/support/contact_us.html
Gavin
el 23 de Ag. de 2025
The support from other software companies usually offers remote access to your computer in order to diagnose the problem. Isn't that possible with MATLAB support in order to reproduce the problem ? Or don't you want to allow access ?
Gavin
el 23 de Ag. de 2025
Image Analyst
el 24 de Ag. de 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.
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.
Respuestas (1)
Manan
el 13 de Oct. de 2025
0 votos
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 comentario
Gavin
el 4 de Nov. de 2025
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

