drop down return to the first option
显示 更早的评论
Hello, I have created drop down menu using GUI, using {option 1, ......4}
each option play a sound How to go back to first option, "option 1" after the sound ends. I want be always to go back to the first option once the sound ends, or how to rest the drop down menu to the first the option at the top of the menu
value = app.PickASoundDropDown_Black_Sp.Value;
if strcmp(value, 'Click')
clear all ; close all
app.chan_Black_Sp = 0;
elseif strcmp(value, 'Browse a File')
file = uigetfile('*wav','Select Channel 2 Audio File');
end
so, I want to go back to "Click" after I have picked an audio file is done playing.
4 个评论
Jan
2018-11-8
What does this mean: "go back to the first option"? What is going to where?
Abdullah Andergeery
2018-11-8
Jan
2018-11-8
Please post the code of the callback. Maybe a screenshot clarifies, what "go to the first option" means.
Abdullah Andergeery
2018-11-8
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Audio and Video Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!