popup menu and button

1 次查看(过去 30 天)
Pan
Pan 2012-3-13
I want to use popup menu and button that control play video. For example: If one, two ,three there are three chooses and I must first one of them and use button control play it.
current I think use the way
switch get(hpop,'value') case 1 set(hp1,'callback','f1');
case 2
set(hp1 ,'callback','f2');
case 3
set(hp1 ,'callback','f4');
end
but this code can't work. pleas give me some advices,thanks!!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by