File handling code for popup menu in gui

I want to know the coding which is used to transfer the details in a popupmenu to a text file?

1 件のコメント

Jan
Jan 2012 年 9 月 20 日
What are the "details in a popupmenu"?

サインインしてコメントする。

回答 (1 件)

Kevin Claytor
Kevin Claytor 2012 年 9 月 20 日

0 投票

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,...

カテゴリ

タグ

質問済み:

2012 年 9 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by