File handling code for popup menu in gui

2 visualizzazioni (ultimi 30 giorni)
Senthuran
Senthuran il 20 Set 2012
I want to know the coding which is used to transfer the details in a popupmenu to a text file?

Risposte (1)

Kevin Claytor
Kevin Claytor il 20 Set 2012
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,...

Categorie

Scopri di più su Environment and Settings in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by