Clear Filters
Clear Filters

set column width for all column

9 views (last 30 days)
aldo
aldo on 18 Jul 2023
Commented: Voss on 18 Jul 2023
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};

Accepted Answer

Voss
Voss on 18 Jul 2023
app.UITable_mincap.ColumnWidth = repmat({30},1,height(xx));
  2 Comments
aldo
aldo on 18 Jul 2023
Moved: Voss on 18 Jul 2023
thanks..
i want to delete columnName ..How can i do it? thank
Voss
Voss on 18 Jul 2023
To set all column names to empty:
app.UITable_mincap.ColumnName = repmat({''},1,height(xx));

Sign in to comment.

More Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!