Generate User Request Editbox

9 visualizzazioni (ultimi 30 giorni)
Andreas
Andreas il 5 Lug 2013
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!!

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 5 Lug 2013
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')

Più risposte (1)

Andreas
Andreas il 5 Lug 2013
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.

Categorie

Scopri di più su Data Type Identification in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by