Within a single popup dialog box, how to request multiple user inputs to define variables?
Mostrar comentarios más antiguos
I have four separate boxes popup for a user to define variables r, s, n, and d:
r = str2double (inputdlg ('Input row number.')); % Row number.
s = str2double (inputdlg ('Input section number.')); % Section number.
n = str2double (inputdlg ('Input quantity of images.')); % Quantity of images.
d = str2double (inputdlg ('Input distance from vine [ft].')); % Camera distance from vine [ft].
Is there a way for the user to define these variables using one popup box? Thank you!
Respuesta aceptada
Más respuestas (1)
Walter Roberson
el 31 de En. de 2014
0 votos
Yes, inputdlg() accepts a cell array of strings for the several prompts.
Categorías
Más información sobre Update figure-Based Apps en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!