필터 지우기
필터 지우기

Setting the number of rows and columns in a UItable

조회 수: 3 (최근 30일)
Harold
Harold 2012년 2월 12일
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일
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

카테고리

Help CenterFile Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by