📜  弹出菜单 matlab gui - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:11.949000             🧑  作者: Mango

代码示例1
v = get(handles.mypopupmenu,'Value'); %get currently selected option from menu
if v == 1
   %stuff here
elseif v == 2
   %stuff here
elseif v == 3
   %stuff here
elseif v == 4
   %stuff here
end