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

조회 수: 1 (최근 30일)
muhammad zulhelmy
muhammad zulhelmy 2017년 3월 5일
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.....

답변 (0개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by