Context menu inside a uitable for assigning values in cells to variables

Hi,
I was wondering if this is possible. What I want to do is be able to right click on a cell and copy its value to any of the listed variables in the context menu.
If it is possible, How?
Thanks

답변 (1개)

Walter Roberson
Walter Roberson 2011년 4월 29일

0 개 추천

You might be able to find a better way at Yair Altman's http://undocumentedmatlab.com . My recollection is that the official method involves getting the CurrentPosition of the root object (0) and using that to figure out which cell you are positioned over.

카테고리

도움말 센터File Exchange에서 App Building에 대해 자세히 알아보기

질문:

2011년 4월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by