Code covered by the BSD License  

Highlights from
Structure Overwrite and Merge

5.0

5.0 | 1 rating Rate this file 5 Downloads (last 30 days) File Size: 1.62 KB File ID: #38821

Structure Overwrite and Merge

by Daniyal Awan

 

29 Oct 2012

To Overwrite and Merge two structures. Both overwrite and Merge are optional.

| Watch this File

File Information
Description

This is a funtionality I required for my GUI simulator where the user enters parameters in GUI and these parameters over-ride the default ones of the simulator. Merge funtionality adds these parameters as 'extra'. I can not afford to have bugs in this one (ofcourse :)). So if you kindly find any bugs let me know. I have made it general so other users can use it if they require. Also its case-sensitive which is annoying.

Required Products MATLAB
MATLAB release MATLAB 7.8 (R2009a)
Tags for This File  
Everyone's Tags
struct, structure, structure merge, structure overwrite
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
20 Nov 2012 Jeff Anderson

Did exactly what I needed to do. Thank you!! Great for a gui that has a lot of parameters. You can create a default structure in the function then pass it just the user overwrites and use this function to merge and make the correct overwrites!

Contact us