3 [~,~,nCallerStackStepsUp]=
mxberry.
core.parseparext(...
5 {
'nCallerStackStepsUp';1;...
6 'isscalar(x)&&isnumeric(x)&&isreal(x)'},0,...
7 'propRetMode',
'separate');
12 if ~(
mxberry.
core.isrow(inpArray)||isEmptyAllowed&&isempty(inpArray))
15 '%s is char is expected to be a row',inputname(1),...
16 'nCallerStackStepsUp',1+nCallerStackStepsUp);
19 '%s is char is expected to be a row or empty cell',...
20 inputname(1),
'nCallerStackStepsUp',1+nCallerStackStepsUp);
23 if isa(inpArray,
'function_handle')
25 elseif ~iscell(inpArray)
27 'input array should be either function_handle or cell',...
28 'nCallerStackStepsUp',1+nCallerStackStepsUp);
30 if ~all(cellfun(
'isclass',inpArray,
'function_handle'))
32 '%s is expected to be a cell array of function_handles',...
33 inputname(1),'nCallerStackStepsUp',1+nCallerStackStepsUp);
function throwerror(in msgTag, in varargin)
THROWERROR works similarly to built-in ERROR function in case when there is no output arguments but s...
function checkcelloffunc(in inpArray, in isEmptyAllowed, in varargin)
CHECKCELLOFFUNC checks that input variable is either a function_handle of cell of function_handle (ch...