how to copy value from datacursormode in the axes in GUI MATLAB??
1 回表示 (過去 30 日間)
古いコメントを表示
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/161363/image.png)
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.....
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/161364/image.png)
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!