gco broken in 2014b?

조회 수: 2 (최근 30일)
matt dash
matt dash 2015년 2월 5일
In older versions, this displays the last object clicked in the command window whenever a key is pressed in the figure:
figure('keypressfcn','gco') axes
In 2014b the gco always just returns "0x0 empty GraphicsPlaceholder array"
Is there any way to restore the old behavior in 2014b? I need a keypressfcn to react differently depending on what the current object is.
(I'm using gco as a string to simplify the example. Calling gco from an actual function also does not work)

답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by