Multiple prompt/input with inputdlg according to a value
Mostrar comentarios más antiguos
Hi everybody, I am at the "visual" stage of my program and I want to simplify the input process.
The program works with a variable amount of colors which changes depending on the image that is analyzed.
After that, the user must introduce manually two treshhold values MIN/MAX for each color.
I would like to use inputdlg() to display as much prompt/inputs as needed according to the "colors" value.
Here a self made image of what I would like to have:

Thank you in advance.
5 comentarios
dpb
el 5 de Jun. de 2020
Build an array of number needed -- but look at using a slider/spinner as perhaps more user friendly than typing...
madhan ravi
el 5 de Jun. de 2020
xD dpb, “spinner” term made me chuckle.
dpb
el 5 de Jun. de 2020
madhan ravi
el 5 de Jun. de 2020
Yes I was interpreting in another way xD. Nevertheless I admire the terms you use often.
dpb
el 5 de Jun. de 2020
OK...just in case you didn't realize there was one in the arsenal... :)
"I admire the terms you use often."
Indeed, I don't see any point in not having a little fun and humor along the way! Glad somebody sees similarly.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Creating, Deleting, and Querying Graphics Objects 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!