MATLAB Answers

Can add multi-lines in one row of table in Matlab GUI ?

6 views (last 30 days)
galaxy
galaxy on 22 Jan 2020
Commented: galaxy on 17 May 2020
Dear all
As title, I want to ask can add multi-lines in one row of table in Matlab GUI ?
If can, how to add?
Many thanks

  2 Comments

Johnny Birch
Johnny Birch on 16 May 2020
Did you find a solution to this? I am struggeling with the exact same issue
galaxy
galaxy on 17 May 2020
Hi Johnny Birch,
You can add html character before set data of table such as:
data = '<html>line 1 <br /> line 2 </html>';
set(handles.tb, 'Data', data);

Sign in to comment.

Answers (0)


Translated by