Hi all, I was wondering if it was possible to dynamically generate editboxes in GUIDE.For example if a user requests 2 editboxes,2 editboxes will be given for data input,3 editboxes requested,3 shown,etc..Any ideas.?? Thank you all!!

 채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 7월 5일

0 개 추천

you can create 5 editbox for example, make them invisible by
set(handles.editbox1,'visible','off')
When the user ask for an edit box, make one visible
set(handles.editbox1,'visible','on')

추가 답변 (1개)

Andreas
Andreas 2013년 7월 5일

0 개 추천

Thank you for your reply! I thought of that too,it is a solution I already adopted,however I was thinking something more dynamic,if it is even possible to be dynamic in GUIDE.

카테고리

도움말 센터 및 File Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by