Popupmenu in the uitable
5 ビュー (過去 30 日間)
古いコメントを表示
I have a popupmenu in the uitable: set(handles.uitable1, 'ColumnFormat', {{'A' 'R'}) And I want to do, if I choose 'A', than do something, for example, 2+2, else 2-2. How to format function, that it does, what I want?
0 件のコメント
採用された回答
Oleg Komarov
2011 年 3 月 4 日
You should use CellEditCallback:
set(handles.uitable1, 'ColumnFormat', {'A' 'R'},'CellEditCallback',@myFun)
function myfun(varargin)
% Check for the value
% Do stuff
end
Oleg
5 件のコメント
Oleg Komarov
2011 年 3 月 9 日
There's is not such a thing as THE ERROR. Post the complete error msg you get.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Develop Apps Using App Designer についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!