Cannot type or edit in MATLAB, only right click and menus.
46 次查看(过去 30 天)
显示 更早的评论
Strange occurrence today, I started MATLAB and I cannot get any input except right click menus. Running 2012a on MAC 10.6. Worked fine last night. Have restarted the computer several times. When I click on the M editor or command window nothing happens, as if it is locked up. Every now and then it seems to work for an instant and whatever inputs I've tried show up on screen, then it freezes. If I double-click a word I can highlight it, but there's no cursor function.
A few times I've gotten the following error:
java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1995)
at java.awt.Component.getLocationOnScreen(Component.java:1969)
at apple.awt.CAccessibility$22.call(CAccessibility.java:370)
at apple.awt.CAccessibility$22.call(CAccessibility.java:368)
at apple.awt.CToolkit$CallableWrapper.run(CToolkit.java:1125)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at apple.awt.CToolkit$CPeerEvent.dispatch(CToolkit.java:1215)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:676)
at java.awt.EventQueue$2.run(EventQueue.java:674)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
>>
Any ideas? Should I reinstall?
Thanks Mark
6 个评论
Sean de Wolski
2013-8-8
Luke, the behavior in this question is Mac specific. Please contact Technical Support.
Mika Mäki
2019-4-16
For the cases where the problem affects only the App Designer and such, please see this thread:
采纳的回答
更多回答(2 个)
Knut Sindre Åbjørsbråten
2019-8-13
Let me bump this - I still get this error on Matlab 2018a. It happens consistently when using Screen Sharing, and makes this a bit rough.
0 个评论
Sean de Wolski
2013-6-20
This currently is being investigated by our development team. This thread also applies to the same issue:
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!