a cell of double heading

1 visualizzazione (ultimi 30 giorni)
Guido Pastore
Guido Pastore il 16 Mar 2019
Commentato: Star Strider il 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?

Risposta accettata

Star Strider
Star Strider il 16 Mar 2019
Yes. Use Tables (link).
  6 Commenti
Guido Pastore
Guido Pastore il 16 Mar 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 il 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.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Structures in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by