2 isEmp=cellfun(
'isempty',varargin);
3 varargin=varargin(~isEmp);
11 NewStruct=varargin{1};
14 varargin{iArg},@(x,y)
cat(catDimension,x,y),@(x) x,@(x)x);
function unionstructsalongdim(in catDimension, in varargin)
UNIONSTRUCTS unites structures with the same fields by concatenating the corresponding fields along t...
function cat(in dimNum, in varargin)