I want to create a dropdown menu of natural numbers; I want to input maximum and minimum value and it should show me the list of all natural numbers between these two numbers. My idea was to create an array with for loop and connect it with drop down list. But it seems like my MATLAB logic is useless here and couldn't figure out how even create an array. Any suggestion? Thanks.
Solved! Go to Solution.
So you have three controls:
Two integer controls to enter lower and upper limit
A ring that will fill with items containing all integers in-between. (within reason, you don't want a million entries!). The terms "between" is a bit fuzzy, but I assume you also want to include the limits in the ring.
Should be trivial. Code will fit on a postage stamp. What have you tried?
one more question. How can I get the selected number? When I try to extract, it gives me only values(0,1,2..).