How to add new field to existing structure?

186 Ansichten (letzte 30 Tage)
Thibedi Malotana
Thibedi Malotana am 30 Mai 2020
I would please like to know how to add a new field to a existing structure array.

Antworten (1)

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

Melden Sie sich an, um zu kommentieren.

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