How to propose cell in a choice list in GUI

1 vue (au cours des 30 derniers jours)
Alex
Alex le 11 Sep 2013
I made a GUI interface in MATLAB. I have a windows with a choice list. But as you know, in a GUI you can only write/insert your different list in the Choice List Editor, or I would like to get the different string contained into my cell array.
I will show you a screenshot to be more understood:
Yu can see my cell array called "tag" which contain 199 strings; and I just want to propose his 199 string into my choice list.
I hope I'm clear, sorry if there are mistakes, I'm not fluent in English.
  1 commentaire
Sean de Wolski
Sean de Wolski le 12 Sep 2013
Alex, please use comments to thank and accept the answer that helped the most.

Connectez-vous pour commenter.

Réponses (1)

Arthur
Arthur le 11 Sep 2013
I hope I understand your question correctly. You want to put all the 199 strings as options in the choise list? For this you need to put these as a cell array in the ColumnFormat property of your uitable.
  2 commentaires
Sean de Wolski
Sean de Wolski le 12 Sep 2013
Alex replied in an answer:
Thank you arthur it's perfect :)
Jan
Jan le 12 Sep 2013
@Alex: Please accept this answer, if it solves your problem.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Function Creation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by