Adding fields to struct within variable editor

2 visualizaciones (últimos 30 días)
Matt J
Matt J el 22 de Jul. de 2013
Comentada: Andy el 19 de Ag. de 2025
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?

Respuesta aceptada

Evan
Evan el 22 de Jul. de 2013
Editada: Evan el 22 de Jul. de 2013
From within the variable editor window:
Right click -> New
Then modify the field's value to whatever you like.
  3 comentarios
Evan
Evan el 22 de Jul. de 2013
No problem!
Andy
Andy el 19 de Ag. de 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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by