Code covered by the BSD License  

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

Be the first to rate this file! 4 Downloads (last 30 days) File Size: 1.46 KB File ID: #25052

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

by Misha Koshelev

 

17 Aug 2009

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

| Watch this File

File Information
Description

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

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
struct Misha Koshelev 18 Aug 2009 10:01:25
array Misha Koshelev 18 Aug 2009 10:01:26
fields Misha Koshelev 18 Aug 2009 10:01:26

Contact us at files@mathworks.com