File handling code for popup menu in gui
2 次查看(过去 30 天)
显示 更早的评论
I want to know the coding which is used to transfer the details in a popupmenu to a text file?
回答(1 个)
Kevin Claytor
2012-9-20
You can use the get command;
get(handles.mypopup)
Or for specific cases;
get(handles.mypopup,'string'); % returns all strings in the popup
get(handles.mypopup,'value'); % returns the current popup selection 1,2,3,...
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!