In der Zeit vom 27.05.19 16 Uhr bis zum 28.05.19 10 Uhr steht die GitLab Instanz der RWTH Aachen nicht zur Verfügung. Es findet ein Umzug des angeschlossenen Storage Systems statt, so dass in der genannten Zeit keine Repositories angelegt, gelöscht oder verändert werden können. Wir bitten um Ihr Verständnis. // In the time from 27.05.19 16 o'clock to 28.05.19 10 o'clock the GitLab instance of the RWTH Aachen is not available. The connected storage system will be moved so that no repositories can be created, deleted or changed during this time. We ask for your understanding.

Commit d4d9e4b0 authored by Jan-Gerrit Richter's avatar Jan-Gerrit Richter

parse arguments again gives an error on unknown arguments

these arguments are most likely typos

if two output variables are devined, unknown arguments are still returned as the second one
parent f95c0917
......@@ -5,6 +5,8 @@ function varargout = ita_parse_arguments(varargin)
%
% Syntax: sOut = ita_parse_arguments(sIn, argumentcell)
% Syntax: sOut = ita_parse_arguments(sIn, varargin)
% Syntax: [sOut,notFound] = ita_parse_arguments(sIn, varargin)
% Returns arguments that are not found in the struct
% Syntax: sOut = ita_parse_arguments(sIn, varargin, startidx) - start at
% this index to parse varargin
% Syntax: sOut = ita_parse_arguments(sIn) - Only checking default settings
......@@ -301,7 +303,7 @@ end
if notFoundArguments == 1
if nargout < 2
ita_verbose_info([thisFuncStr callFuncStr 'Some arguments could not be found in the struct. They are returned separately.'],0);
error([thisFuncStr callFuncStr 'Some arguments could not be found in the struct.'],0);
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment