multiple lines in af table

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 Kommentare

KSSV
KSSV am 31 Mär. 2017
Your lines are not showing any error...what is question actually?
Anne
Anne am 31 Mär. 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Gefragt:

am 31 Mär. 2017

Kommentiert:

am 31 Mär. 2017

Community Treasure Hunt

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

Start Hunting!

Translated by