Effacer les filtres
Effacer les filtres

File handling code for popup menu in gui

1 vue (au cours des 30 derniers jours)
Senthuran
Senthuran le 20 Sep 2012
I want to know the coding which is used to transfer the details in a popupmenu to a text file?
  1 commentaire
Jan
Jan le 20 Sep 2012
What are the "details in a popupmenu"?

Connectez-vous pour commenter.

Réponses (1)

Kevin Claytor
Kevin Claytor le 20 Sep 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,...

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by