Space key stops working
3 次查看(过去 30 天)
显示 更早的评论
Hi,
This happens to me about once every two weeks and so far I do not know how to reproduce the error. So maybe you have suggestions what to try next time.
The symptoms are I can normally enter text - but no space. When I hit space it beeps - and that's it. This is in the command window as well as in the editor. Making Matlab pretty unusable. The weird thing is - in another Matlab window space is working fine - also in other programs.
My solution so far is restarting Matlab - which is annoying. I tried lots of key combinations in case this was like the one annoyance with the insert key - but so far found none that would solve it.
Today it happened to me in a freshly started Matlab process. It was running a few minutes - but I didn't perform any calculations. Noted it when I tried to cd to a directory with spaces in the name.
If it matters I'm still on 2009a.
回答(2 个)
Jan
2011-6-20
Try to start Matlb without java:
matlab -nojvm
Or run Matlab with the Java version included in the installer by deleting the environment variable MATLAB_JAVA.
If the problem vanishes, the updated Java is likely the cause. With Java 6.24 under Matlab 2009a/WinXP I got several other problems, e.g. I could not update the position of UITREE objects reliably, if the figure is resized. But the keyboard worked fine.
I had similar problems with non-functional curly braces after using an updated JRE under Matlab 6.5.
另请参阅
类别
在 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!