Uitable Matrix within cells
4 views (last 30 days)
Show older comments
Hi, I have a data structure that involves strings, matrices and integers that need to be shown in one row in different columns. I seem to be having problems in getting the matrix within the cell.
For instance I have, data={'a',[1 2 3;3 4 5], 34};
I need to print this onto a uitable in three separate columns. Could anyone help me out here?
Thanks!
0 Comments
Accepted Answer
Walter Roberson
on 24 May 2013
uitable() entries are not designed to be able to have multiple rows or columns within one cell.
You might be able to hack something by declaring the column to be text, and then coding an HTML TABLE description as the string for the column, but you will have difficulty in making the cell tall enough for the result to show up.
More Answers (0)
See Also
Categories
Find more on Develop Apps Using App Designer 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!