inputdlg() now crashes.
Show older comments
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 Comments
Gavin
on 14 Aug 2025
dpb
on 14 Aug 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
on 14 Aug 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
on 18 Aug 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
on 18 Aug 2025
Gavin
on 18 Aug 2025
Gavin
on 18 Aug 2025
Gavin
on 22 Aug 2025
Gavin
on 22 Aug 2025
"Anything else I should try?"
Contact technical support: https://www.mathworks.com/support/contact_us.html
Gavin
on 23 Aug 2025
Gavin
on 23 Aug 2025
Image Analyst
on 24 Aug 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.
Answers (1)
Manan
on 13 Oct 2025
0 votes
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.
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
