이 질문을 팔로우합니다.
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다.
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다.
inputdlg() now crashes.
조회 수: 146 (최근 30일)
이전 댓글 표시
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
dpb
2025년 8월 14일 23:25
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
2025년 8월 14일 23:37
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
2025년 8월 18일 9:36
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
2025년 8월 18일 20:35
Updating Windows caused the problem Insert the above line into Command window and it runs then locks up MATLAB. Latest Windows update?
Device Name DESKTOP-G4BH57B
Processor Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz 3.30 GHz
Installed RAM 8.00 GB (7.88 GB usable)
Storage 466 GB SSD Samsung SSD 870 EVO 500GB
Graphics Card Intel(R) HD Graphics (32 MB)
Device ID 242AA719-A9C7-4A6D-B702-5063A019C8E1
Product ID 00330-50000-00000-AAOEM
System Type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display
Event Log Critical
0x3D55: Package family Microsoft.Edge.GameAssist_8wekyb3d8bbwe runtime information is corrupted. Attempting to correct the issue.
I don't want ANY games. How to kill this?
Gavin
2025년 8월 18일 20:37
Or is it this one?
Log Name: System
Source: Microsoft-Windows-DistributedCOM
Date: 8/18/2025 3:32:48 PM
Event ID: 10016
Task Category: None
Level: Warning
Keywords: Classic
User: DESKTOP-G4BH57B\CPSLab
Computer: DESKTOP-G4BH57B
Description:
The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
{2593F8B9-4EAF-457C-B68A-50F6B8EA6B54}
and APPID
{15C20B67-12E7-4BB6-92BB-7AFF07997402}
to the user DESKTOP-G4BH57B\CPSLab SID (S-1-5-21-1975001305-1172379909-604540765-1002) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-DistributedCOM" Guid="{1B562E86-B7AA-4131-BADC-B6F3A001407E}" EventSourceName="DCOM" />
<EventID Qualifiers="0">10016</EventID>
<Version>0</Version>
<Level>3</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8080000000000000</Keywords>
<TimeCreated SystemTime="2025-08-18T20:32:48.2279001Z" />
<EventRecordID>14680</EventRecordID>
<Correlation ActivityID="{dcd28f13-893c-49df-92c0-2360266ac7c4}" />
<Execution ProcessID="460" ThreadID="4416" />
<Channel>System</Channel>
<Computer>DESKTOP-G4BH57B</Computer>
<Security UserID="S-1-5-21-1975001305-1172379909-604540765-1002" />
</System>
<EventData>
<Data Name="param1">application-specific</Data>
<Data Name="param2">Local</Data>
<Data Name="param3">Activation</Data>
<Data Name="param4">{2593F8B9-4EAF-457C-B68A-50F6B8EA6B54}</Data>
<Data Name="param5">{15C20B67-12E7-4BB6-92BB-7AFF07997402}</Data>
<Data Name="param6">DESKTOP-G4BH57B</Data>
<Data Name="param7">CPSLab</Data>
<Data Name="param8">S-1-5-21-1975001305-1172379909-604540765-1002</Data>
<Data Name="param9">LocalHost (Using LRPC)</Data>
<Data Name="param10">Unavailable</Data>
<Data Name="param11">Unavailable</Data>
</EventData>
</Event>
Gavin
2025년 8월 18일 22:20
I found out that JAVA wasn't running so I installed it to no avail.
I put in a support request with more details as I tried everything I could think of
My Support Cases 08020753 inputdlg() fails to complete after a Windoze update last week
Gavin
2025년 8월 22일 21:31
I've uninstalled and reinstalled MATLAB to no avail. figure and dialog and uialerts all work fine it's just that I think inputdlg() goes out to Windows to do it's thing and maybe needs JAVA?
JAVA also reinstalled (before MATLAB reinstall but MATLAB still won't use it.
>> jenv
ans =
Version: "Java is not enabled"
Home: "Java is not enabled"
Library: "Java is not enabled"
Status: notloaded
Configuration: "factory"
Is this the problem and if so how do I fix that? Support in India can't figure it out.
Gavin
2025년 8월 22일 21:54
questdlg(...) also fails
uialert(...) works fine
prompt = "Test"
input(prompt,'s') works, oddly input(prompt) fails even though 's' is supposed to be optional!
Not useful in an App Designed APP since the prompt is in the command window, not my app.
Also returned answer is in a different format so I'd have to rewrite more of the program.
Anything else I should try? Remember I have to kill and restart MAATLAB for each thing I try. It takes a while. Especially 2025a takes a long time to start up.
Stephen23
2025년 8월 23일 3:35
편집: Stephen23
2025년 8월 23일 3:35
"Anything else I should try?"
Contact technical support: https://www.mathworks.com/support/contact_us.html
Gavin
2025년 8월 23일 19:52
Nobody can reproduce it! I guess someone needs to look at my system logs and or figure out how to get JAVA to load properly on a new install if that is in fact the problem.
Does inputdlg() use JAVA to finish?
>> jenv
ans =
JavaEnvironment with properties:
Version: "Java is not enabled"
Home: "Java is not enabled"
Library: "Java is not enabled"
Status: notloaded
Configuration: "factory"
Gavin
2025년 8월 23일 20:26
I'm happy to allow access to that machine (when I am there) No one has asked, and I'm not in that lab everyday. I am a programmer for several labs and companies so I'm not on that job every day (which is why they keep closing my case as I don't respond instantly.)
I'd love to get JAVA to work with MATLAB (if that's the issue) That is the only machine where >>jenv shows it is not installed. is there a problem with 1.8.0.461?
My other system has
>> version -java
ans =
'Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode'
Which I think may be the MATLAB included version from 2024b. Most of my systems are 2024b I'd have to check if any others have been updated to 2025a
Image Analyst
2025년 8월 24일 3:17
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
대략 1시간 전
편집: Martijn
대략 1시간 전
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.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!오류 발생
페이지가 변경되었기 때문에 동작을 완료할 수 없습니다. 업데이트된 상태를 보려면 페이지를 다시 불러오십시오.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
아시아 태평양
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)