Uitable Matrix within cells

조회 수: 6 (최근 30일)
Krishna
Krishna 2013년 5월 24일
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!

채택된 답변

Walter Roberson
Walter Roberson 2013년 5월 24일
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.
  댓글 수: 1
Krishna
Krishna 2013년 5월 27일
Hey! Thanks! Looks like that might be the only way to go with this. I also thought of writing the results onto a file instead of the fig. Lets see how that works out. Thanks anyways.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by