Clear Filters
Clear Filters

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

1 view (last 30 days)
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.....

Answers (0)

Categories

Find more on Graphics Object Properties in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!