gusucode.com > bigdata 工具箱 matlab源码程序 > bigdata/@tall/invokeReduceInDim.m
function out = invokeReduceInDim(fcnInfo, varargin) %INVOKEREDUCEINDIM Invokes reduceInDim % Copyright 2015-2016 The MathWorks, Inc. % This prevents this frame and anything below it being added to the gather % error stack. stack = createInvokeStack(fcnInfo{1}); markerFrame = matlab.bigdata.internal.InternalStackFrame(stack); %#ok<NASGU> try args = invokeInputCheck(fcnInfo, varargin{:}); [out, dimUsed] = reduceInDim(str2func(fcnInfo{1}), args{:}); out = invokeOutputInfo(fcnInfo{2}, out, args); % Now try and update the reduced dimension allowEmpty = false; out.Adaptor = computeReducedSize(out.Adaptor, args{1}.Adaptor, dimUsed, allowEmpty); catch E matlab.bigdata.BigDataException.hThrowAsCallerWithSubmissionStack(E, stack(1)); end end