Setting the number of rows and columns in a UItable

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).

답변 (1개)

Razvan
Razvan 2012년 2월 13일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

태그

질문:

2012년 2월 12일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by