Using R2009a, after I type "close all", the Matlab window will not be writable until I right-click on it.

2 次查看(过去 30 天)
Was wondering if there is some setting I need to change to remedy this. It is not a huge problem, but gets annoying if I am running several scripts one after another.
After any script that plots data, I do a 'close all' command. For some reason this seems to lock up the Matlab command window. Only a right-click, then subsequent left click to exit the settings box that comes up will allow me to type again.

回答(1 个)

Jan
Jan 2013-9-20
Which OS are you using? Did you install a new Java version? Does this create the effects:
figure
close('all')
? When did this problem occur? A right click on what and what is "the settings box"?
  2 个评论
Art
Art 2013-9-24
编辑:Art 2013-9-24
sorry, this is on a Linux system, run through Windows XP from an XWIN32 app.
Yes, simply typing 'figure', then 'close all' does create this effect.
I need to right-click on the Matlab command window, at which time a "settings" box appears that starts with "evaluate selection" and ends with "clear command window". I do not have to select anything from this box, just left-click back on the command window (which makes the settings box disappear), and I can type again within the command window. Otherwise the command window will not accept any user input from the keyboard.
This problem occurs anytime I type 'close all' or 'close' or 'close('all')', and any figures exist. If I type 'close' or 'close all' without any figures existing this problem does not occur.
Art
Art 2013-9-30
OK, friend of mine found the bug... there is a bug between Java (which Matlab uses for GUIs) and a Linux tool called SCIM, which allows input from different languages.
In a linux terminal, type im-chooser. this opens a dialog box where you can select "never use input methods". Restart the linux session and Matlab works fine.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by