how to have a cell in a table display a calculation after another cell in the same table is changed
Show older comments
So I wan't to edit a cell in a table in matlab gui. then the adjacent cell will display a calculated value that is dependent on the cell value that was input. and i want it to do this every time i click on the cell and change its value. I don't have any experience with ButtonDownFcn, CellSelectionCallback, KeyPressFcn, or CellEditCallback. I do know how to display data in table from other calculations.
thank you
Answers (1)
Jan
on 9 Sep 2013
You direction is right: the CellEditCallback is the way to go. In addition you have to learn how to share data between callback functions. I suggest to search for the following terms in the forum:
CellEditCallback
share data gui
If you add "Matlab" you can ask your favorite internet search engine also. If there are still problems afterwards, please ask a specific question.
Categories
Find more on Cell Arrays 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!