how to copy value from datacursormode in the axes in GUI MATLAB??

1 Ansicht (letzte 30 Tage)
muhammad zulhelmy
muhammad zulhelmy am 5 Mär. 2017
from the picture i attached here, i done a contourmap from the excel
i am now able to show the "X=11 Y=5 Level=567" by command datacursormode on
but the problem is how i want to take/copy/get their value ???
what i mean is i want get the value "11 5 567" itself
i try using a command like this to display the value at edit6, but it wouldn't work
pos = get(event_obj,'Position');
A=getCursorInfo(num2str(pos(2)),'string');
set(handles.text6,'string',A);
please some1 help my problem.... PLEASEEEE.....

Antworten (0)

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by