Setting the number of rows and columns in a UItable
Show older comments
I'm doing some data analysis and I would like to program a way of generating a table based off of the number of points entered in a textbox. I created a program that creates a b-spline surface using (x,y,z) coordinates of the control points which need to entered in the GUI. In the GUI I want to be able to tell the GUI to make a table n by n table (#rows=#columns) by a number entered in a text box.
Example: The user enters 16 (16 data points), clicks a button, a table is created either on the GUI or another window. 16 rows and 3 columns (for x, y, and z).
Answers (1)
Razvan
on 13 Feb 2012
0 votes
16 rows and 3 columns doesn't seem to be a "n by n table" ...
Anyway, the examples from http://www.mathworks.com/help/techdoc/ref/uitable.html should be enough...
Razvan
Categories
Find more on Color and Styling 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!