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?

 채택된 답변

Evan
Evan 2013년 7월 22일
편집: Evan 2013년 7월 22일

0 개 추천

From within the variable editor window:
Right click -> New
Then modify the field's value to whatever you like.

댓글 수: 3

Matt J
Matt J 2013년 7월 22일
Thanks!
Evan
Evan 2013년 7월 22일
No problem!
Andy
Andy 2025년 8월 19일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Structures에 대해 자세히 알아보기

질문:

2013년 7월 22일

댓글:

2025년 8월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by