Append a new entry to structure array, fields don't need to be same

Appends a new entry to structure array, fields don't need to be same. Can also insert a new entry.

You are now following this Submission

This is quite handy for me as I could not deal with MATLAB's requirement of having _exact_ same fields in structure arrays if you want to work with the structure outside the array and then append/insert it back in.

Misha

Cite As

Misha Koshelev (2026). Append a new entry to structure array, fields don't need to be same (https://www.mathworks.com/matlabcentral/fileexchange/25052-append-a-new-entry-to-structure-array-fields-don-t-need-to-be-same), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0