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 ExchangeApp 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