MATLAB Answers

How to add new field to existing structure?

5 views (last 30 days)
Thibedi Malotana
Thibedi Malotana on 30 May 2020
Commented: Thibedi Malotana on 30 May 2020
I would please like to know how to add a new field to a existing structure array.

  0 Comments

Sign in to comment.

Answers (1)

madhan ravi
madhan ravi on 30 May 2020
If S is your struct:
S.Newfield = "Hi there;)"

  5 Comments

Show 2 older comments

Sign in to comment.

Tags


Translated by