Multiple prompt/input with inputdlg according to a value
Show older comments
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 Comments
dpb
on 5 Jun 2020
Build an array of number needed -- but look at using a slider/spinner as perhaps more user friendly than typing...
madhan ravi
on 5 Jun 2020
xD dpb, “spinner” term made me chuckle.
madhan ravi
on 5 Jun 2020
Yes I was interpreting in another way xD. Nevertheless I admire the terms you use often.
dpb
on 5 Jun 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.
Accepted Answer
More Answers (0)
Categories
Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!