multiple lines in af table

2 views (last 30 days)
Anne
Anne on 31 Mar 2017
Commented: Anne on 31 Mar 2017
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 Comments
KSSV
KSSV on 31 Mar 2017
Your lines are not showing any error...what is question actually?
Anne
Anne on 31 Mar 2017
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.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!