Count numbers from 0 to a value input by the user in uitable
Show older comments
Assuming the user input a value which is 8. Then display the result in column from 0 to 8 as shown on the image.
Accepted Answer
More Answers (1)
Walter Roberson
on 16 Oct 2017
0 votes
uitable, use a Data cell array with three columns, and configure the column names and column types.
2 Comments
Kim Lopez
on 16 Oct 2017
Walter Roberson
on 16 Oct 2017
There are a number of ways to put data into a cell array, including a plain "for" loop.
Categories
Find more on Environment and Settings 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!