How to add new field to existing structure?

186 views (last 30 days)
I would please like to know how to add a new field to a existing structure array.

Answers (1)

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

Sign in to comment.

Categories

Find more on Structures in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!