Align text in uitable using GUIDE
Show older comments
Hi Can anyone provide a script for me to alling in the middle of a uitable, a matrix(3x4) of format double. example a = [3 2 1 4; 5 6 7 8; 9 10 11 12]; Also, i would like to know if it is possible to use in the same uitable, a collumm formed by string, and the rest numerical
2 Comments
Jan
on 27 Jan 2018
I do not understand the question. What is "alling"?
Victor Dalosto
on 27 Jan 2018
Edited: Victor Dalosto
on 28 Jan 2018
Accepted Answer
More Answers (1)
Walter Roberson
on 28 Jan 2018
0 votes
Yes, you can align text. See https://www.mathworks.com/matlabcentral/answers/377486-problem-with-table-exportation
However, notice that the solution I gave there seems to have a problem if you change the width of the cell. If your text is wide enough that you would want to change the width of the cell, you might have difficulty.
1 Comment
Victor Dalosto
on 28 Jan 2018
Categories
Find more on Migrate GUIDE Apps 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!