multiple lines in af table

4 次查看(过去 30 天)
Anne
Anne 2017-3-31
评论: Anne 2017-3-31
hi The report function in Matlab will not let me put in more lines in one row. It there a way to solve that ? A = cell(1,2);
A{1,1} = 'hello';
A{1,2} = 'there';
mls = sprintf('%s\n%s',A{1,1},A{1,2});
ds=['test1';'test2']
cs={'test1';'test2'}
I have already tried these, but they will not work. Thanks /Anne
  2 个评论
KSSV
KSSV 2017-3-31
Your lines are not showing any error...what is question actually?
Anne
Anne 2017-3-31
Error using mlreportgen.dom.TableEntry No constructor 'mlreportgen.dom.TableEntry' with matching signature found.
I would like to have more than one line in a table.

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by