How to add new field to existing structure?

243 visualizaciones (últimos 30 días)
Thibedi Malotana
Thibedi Malotana el 30 de Mayo de 2020
Comentada: Thibedi Malotana el 30 de Mayo de 2020
I would please like to know how to add a new field to a existing structure array.

Respuestas (1)

madhan ravi
madhan ravi el 30 de Mayo de 2020
If S is your struct:
S.Newfield = "Hi there;)"
  5 comentarios
madhan ravi
madhan ravi el 30 de Mayo de 2020
Thank you Stephen ;)
Thibedi Malotana
Thibedi Malotana el 30 de Mayo de 2020
Thank you to both of you

Iniciar sesión para comentar.

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