set column width for all column

조회 수: 4 (최근 30일)
aldo
aldo 2023년 7월 18일
댓글: Voss 2023년 7월 18일
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일
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개)

카테고리

Help CenterFile Exchange에서 Structures에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by