Diff of /blockproc/blockpanelget.m [797cbb] .. [b6ad1a]  Maximize  Restore

  Switch to unified view

a/blockproc/blockpanelget.m b/blockproc/blockpanelget.m
...
...
24
24
25
if nargin<1
25
if nargin<1
26
   error('%s: Too few input arguments.',upper(mfilename));
26
   error('%s: Too few input arguments.',upper(mfilename));
27
end
27
end
28
28
29
assert(nout==1&&nargin==1,...
29
if nout~=1 && nargin==1
30
   ['%s: Ambiguous output. When no parameter is explicitly defined,',...
30
   error(['%s: Ambiguous output. When no parameter is explicitly defined,',...
31
    ' the function cannot return more tha one output parameter.'],mfilename);
31
    ' the function cannot return more tha one output parameter.'],mfilename);
32
end
32
33
33
34
34
if nargin>1 
35
if nargin>1 
35
   if nout~=1 && nout ~= numel(varargin)
36
   if nout~=1 && nout ~= numel(varargin)
36
      error('%s: Number of inputs does not match with number of outputs.',upper(mfilename));
37
      error('%s: Number of inputs does not match with number of outputs.',upper(mfilename));

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks