a cell of double heading

3 visualizaciones (últimos 30 días)
Guido Pastore
Guido Pastore el 16 de Mzo. de 2019
Comentada: Star Strider el 16 de Mzo. de 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?

Respuesta aceptada

Star Strider
Star Strider el 16 de Mzo. de 2019
Yes. Use Tables (link).
  6 comentarios
Guido Pastore
Guido Pastore el 16 de Mzo. de 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 el 16 de Mzo. de 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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Structures en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by