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

Answers (1)

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 App Building in Help Center and File Exchange

Asked:

on 29 Apr 2011

Community Treasure Hunt

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

Start Hunting!