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.
精彩评论