© Copyright 2000-2015 Source Code Online. Free Source Code and Scripts Downloads.
|Code Listing by Yanai|
similar to Matlab's isequalwithequalnans, but also return the mismatched fields
% use: [equal, badFields] = isEqualCrawler(A, B)
% [equal, badFields] = isEqualCrawler(struct('a',1,'b',2), struct('a',3))
% equal = 0
% badFields' =
% 'field (base).a is not equal'
% 'second input does not contain field (base).b'
The function is similar to Matlab's linkaxes, only it takes figure numbers instead of axes handles.
Use the function when you want to zoom and pan multiple axes that are not on the same figure (i.e. subplot).
The function scans all subfolders of given directory, and returns a list of all subfolders and their size.
The size of a folder is the sum of all its files size + sum of all its subfolders size.
shortcut for simple if conditions.
The function works similar to Excel format.
First argument is the condition, second is what to do if true, third is what to do if false.
A = ifelse(x>thr, 5, 3)
All files and free downloads are copyright of their respective owners. We do not provide any hacked, cracked, illegal, pirated version of scripts, codes, components downloads. All files are downloaded from the publishers website, our file servers or download mirrors. Always Virus check files downloaded from the web specially zip, rar, exe, trial, full versions etc. Download links from rapidshare, depositfiles, megaupload etc not published.