Generate User Request Editbox

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!!

 采纳的回答

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.

Community Treasure Hunt

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

Start Hunting!

Translated by