Passing variables in matlab GUI
1 回表示 (過去 30 日間)
古いコメントを表示
In my GUI, i have a drop down menu, Yes or No. Depending on what is selected, determines the value of variable x. When I press a button, I want to use x to do a calculation
function [test]=popupmenu1_Callback(hObject, eventdata, handles)
end
function startbutton_Callback(hObject, eventdata, handles, test)
end
the popmenu by itself works, but when i press the start button, 'test' is not passed into it.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Migrate GUIDE Apps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!