Adding fields to struct within variable editor

If I open a struct in the variable editor, I can edit the values of its existing fields there, but I can't see how to add new fields. Is it possible to do so?

 Réponse acceptée

Evan
Evan le 22 Juil 2013
Modifié(e) : Evan le 22 Juil 2013
From within the variable editor window:
Right click -> New
Then modify the field's value to whatever you like.

3 commentaires

Matt J
Matt J le 22 Juil 2013
Thanks!
Evan
Evan le 22 Juil 2013
No problem!
Andy
Andy le 19 Août 2025
I don't see a "New" only
Duplicate
Insert
Delete
Rename
Edit Value
I don't see any effect with Duplicate or Insert, and don't want to use Delete.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Interactive Control and Callbacks dans Centre d'aide et File Exchange

Question posée :

le 22 Juil 2013

Commenté :

le 19 Août 2025

Community Treasure Hunt

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

Start Hunting!

Translated by