I found the solution, thank you so much.
if isempty(find(strcmpi(varargin,'method'), 1))
method = 'csape';
else
method = varargin{find(strcmpi(varargin,'method'), 1)+1};
end
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
0 Comments
Sign in to comment.