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

version 1.0.0.0 (1.46 KB) by Misha Koshelev
Appends a new entry to structure array, fields don't need to be same. Can also insert a new entry.

733 Downloads

Updated 17 Aug 2009

View License

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 (2022). 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 .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!