开发者

How do i edit my uitable property?

开发者 https://www.devze.com 2023-02-09 13:37 出处:网络
I have a figure of uitable. I have 4 row and 3 columns.When i go to the property inspector, i cant delete row num开发者_运维知识库ber 4. How can i delete row number 4?In the help to UITABLE PROPERTIES

I have a figure of uitable. I have 4 row and 3 columns.When i go to the property inspector, i cant delete row num开发者_运维知识库ber 4. How can i delete row number 4?


In the help to UITABLE PROPERTIES, it says:

The number of columns in the table is the larger of ColumnName and the number of columns in the Data property matrix or cell array.

The same applies to rows.

If you use the default row and column names ('numbered'), the easiest way to get your table to be the right size is to define an defaultData in the command window that has the correct number of rows/columns (in your case, defaultData = zeros(3,3), and set data property to that value.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号