How can I get GUIDE to add multiple 'edit texts' to a figure?

1 visualización (últimos 30 días)
Hassan Dehghani
Hassan Dehghani el 7 de Abr. de 2014
Editada: Hassan Dehghani el 8 de Abr. de 2014
I'm trying to learn how to code uicontrols! I want the user to input a number (n), and I want the program to produce (n+1) edit texts to get data from the user! :( I think uicontrols just accept strings :( . Is that right?
this is a part of the code I have written in the callback part.
n_orders = get(handles.e1, 'String');
n_order=str2double(n_orders);
set(handles.e1,'String','')
n_coef=n_order+1;

Respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by