a cell of double heading

1 Ansicht (letzte 30 Tage)
Guido Pastore
Guido Pastore am 16 Mär. 2019
Kommentiert: Star Strider am 16 Mär. 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?

Akzeptierte Antwort

Star Strider
Star Strider am 16 Mär. 2019
Yes. Use Tables (link).
  6 Kommentare
Guido Pastore
Guido Pastore am 16 Mär. 2019
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 am 16 Mär. 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Structures finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by