set column width for all column

hi,
app.UITableCorrelationTab.Data=Function(xx);
app.UITable_mincap.ColumnWidth=??
i've number columns variable (is equal to height(xx))
how can i set it
example:
height(xx)=4
app.UITable_mincap.ColumnWidth={30,30,30,30};

 采纳的回答

app.UITable_mincap.ColumnWidth = repmat({30},1,height(xx));

2 个评论

aldo
aldo 2023-7-18
移动:Voss 2023-7-18
thanks..
i want to delete columnName ..How can i do it? thank
To set all column names to empty:
app.UITable_mincap.ColumnName = repmat({''},1,height(xx));

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Structures 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by