필터 지우기
필터 지우기

ginput does not work in 2015a on ubuntu 14.04

조회 수: 1 (최근 30일)
Lian
Lian 2015년 5월 14일
댓글: Lian 2015년 5월 22일
I have a strange problem: I wrote a script using 2011b some time ago on a mac OS X and it worked perfectly, but now I try to run it on my office workstation running ubuntu 14.04 and Matlab 2015a, the ginput function does not respond to my mouse click anymore. My code looks like this:
...
figure (1), a 3D isosurface plot
...
figure(2), involves ginput
and now the problem happens.
I've tried a different script where figure(1) is a simple sin function plot, then ginput in figure(2) seems to work fine. So what might be the problem? I hope it is nothing to do with my graphics card (nvidia quadro K2000D). Many thanks!
  댓글 수: 2
Dasharath Gulvady
Dasharath Gulvady 2015년 5월 15일
There is a known issue with "ginput" when creating multiple figures in R2015a. As a workaround, place a call to "drawnow" after each call to "figure".
Lian
Lian 2015년 5월 22일
Thanks. Didn't see your comment until now. Yes, I've installed 2012b in the same machine and it works fine. So it is the version problem.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Performance에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by