The close(gcf) command awaiting the return key
古いコメントを表示
In a script [exactly: the art.m from Artifact Detection Tools @ NITRC], there is a close(gcf) command which wait a press of the "return" key to actually close the desired window (if not, matlab stay in a busy state !)....
Due to this, it is not possible to use this script in a batch process ...
Any help will be very appreciate.
EDIT 1: By running the same script on a Mac OS X (Matlab 2015b) I have not observed this problem .... (I use Fedora 22 and Matlab 2013a). I don't see why the OS could be important in this case .... Is it a bug in Matlab 2013a ? ...
EDIT 2: I just installed the 2016a version on my station. I observe the same problem ...
回答 (1 件)
Eric Condamine
2016 年 9 月 13 日
編集済み: Eric Condamine
2016 年 9 月 13 日
3 件のコメント
Walter Roberson
2016 年 9 月 13 日
Your shell initialization file should be changed to only establish that alias if the shell is in interactive mode.
Eric Condamine
2016 年 9 月 13 日
Walter Roberson
2016 年 9 月 13 日
Well, you can always propose it to NITRC; the Answers forum doesn't have any connection to them.
カテゴリ
ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!