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};

 採用された回答

Voss
Voss 2023 年 7 月 18 日

1 投票

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
Voss
Voss 2023 年 7 月 18 日
To set all column names to empty:
app.UITable_mincap.ColumnName = repmat({''},1,height(xx));

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStructures についてさらに検索

質問済み:

2023 年 7 月 18 日

コメント済み:

2023 年 7 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by