ginput crashes matlab on figure close (Windows 8)
8 ビュー (過去 30 日間)
古いコメントを表示
Hi everyone,
I'm experiencing some peculiar behaviour (tried on R2012b and R2014a on different Windows PCs):
> figure(1); ginput()
and we close the figure, the appropriate error is thrown:
Error using ginput (line 112)
Interrupted by figure deletion
whereas if we have
> figure(1); figure(2); ginput();
and we close figure 2, a matlab system error happens and matlab crashes completely. If we close figure 1, and then figure 2, we get the figure deletion error again as expected.
Any ideas how to avoid the matlab crash? try/catching does not work (since it doesn't actually throw an error...)
Edit : It seems the problem is applicable to Windows 8 and 8.1, and not Windows 7.
Thanks!
- Adrian
2 件のコメント
dpb
2014 年 5 月 30 日
Any different behavior if change the renderer property?
Irrespective of that, Matlab should not crash itself; if you can reproduce this (as it seems from you post you can) then it's subject fodder for a bug report to TMW at mathworks.com
回答 (1 件)
Image Analyst
2014 年 5 月 31 日
I do not observe the behavior you did. What I see is expected and is this:
>> figure(1); figure(2); ginput();
Error using ginput (line 84)
Interrupted by figure deletion
I closed figure 2 and it simply gave an entirely reasonable error message.
3 件のコメント
参考
カテゴリ
Help Center および File Exchange で Creating, Deleting, and Querying Graphics Objects についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!