a cell of double heading

2 views (last 30 days)
Guido Pastore
Guido Pastore on 16 Mar 2019
Commented: Star Strider on 16 Mar 2019
Is it possible to add initial lines to a cell as if they were headings?
For example: given a cell of double 5x3 is it possible to add a line where the fields are strings?

Accepted Answer

Star Strider
Star Strider on 16 Mar 2019
Yes. Use Tables (link).
Star Strider
Star Strider on 16 Mar 2019
I am not certain that I understand what you want.
If you want to assign the table to a structure element, try this:
S.T1 = T;
See the documetation on Structures (link) for details.

Sign in to comment.

More Answers (0)


Find more on Cell Arrays in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by