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

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

Answers (1)

Walter Roberson
Walter Roberson on 29 Apr 2011
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.

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!