MATLAB Answers

0

a cell of double heading

Asked by Guido Pastore on 16 Mar 2019
Latest activity Commented on by 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?

  0 Comments

Sign in to comment.

Tags

1 Answer

Star Strider
Answer by Star Strider
on 16 Mar 2019
 Accepted Answer

Yes. Use Tables (link).

  6 Comments

Star Strider
on 16 Mar 2019
As always, my pleasure.
Sorry, I have another question.
I have, for example, 4 cell. How can I create a struct with all these cell??
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.