How to store data values from uitable
1 回表示 (過去 30 日間)
古いコメントを表示
How would I go about storing data values typed into a uitable as globals or otherwise?
0 件のコメント
回答 (1 件)
Walter Roberson
2013 年 8 月 16 日
DataCell = get(UitableHandle, 'Data');
global_variable_1 = DataCell{5,7}; %for example
8 件のコメント
Walter Roberson
2013 年 8 月 16 日
You should investigate the CellEditCallback property; see http://www.mathworks.com/help/matlab/ref/uitableproperties.html#brgcv4s
You would set it to the handle of a function; the function would execute when a cell is edited. In the function you would change the global variable.
You should consider alternatives.
参考
カテゴリ
Help Center および File Exchange で Other Formats についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!