Clear Filters
Clear Filters

How to change a UITable displayed vertically in MATLAB App Designer to a horizontal display?

5 views (last 30 days)
Hello;
I am using app designer and wanted to create a table but I want it to be displayed horizontally. My program is as follows:
Num=1:10;
B= 2*Num;
t2=table(Num',B');
app.UITable.ColumnName = {'Number','B'};
app.UITable.Data =t2;
And when I Run in App Designer, the result is as follows:
But I want the table to be displayed as follows (horizontally) and also data aligned in center of cells.
Thank you for your time to reply.

Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!