a cell of double heading

1 次查看(过去 30 天)
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?

采纳的回答

Star Strider
Star Strider 2019-3-16
Yes. Use Tables (link).
  6 个评论
Guido Pastore
Guido Pastore 2019-3-16
Sorry, I have another question.
I have, for example, 4 cell. How can I create a struct with all these cell??
Star Strider
Star Strider 2019-3-16
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Structures 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by