How to add new field to existing structure?

191 vues (au cours des 30 derniers jours)
Thibedi Malotana
Thibedi Malotana le 30 Mai 2020
I would please like to know how to add a new field to a existing structure array.

Réponses (1)

madhan ravi
madhan ravi le 30 Mai 2020
If S is your struct:
S.Newfield = "Hi there;)"
  5 commentaires
madhan ravi
madhan ravi le 30 Mai 2020
Thank you Stephen ;)
Thibedi Malotana
Thibedi Malotana le 30 Mai 2020
Thank you to both of you

Connectez-vous pour commenter.

Catégories

En savoir plus sur Structures dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by