How to propose cell in a choice list in GUI
조회 수: 1 (최근 30일)
이전 댓글 표시
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/149696/image.png)
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
Sean de Wolski
2013년 9월 12일
Alex, please use comments to thank and accept the answer that helped the most.
답변 (1개)
Arthur
2013년 9월 11일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Function Creation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!