Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
toolbox
Commits
71358f04
Commit
71358f04
authored
Feb 02, 2017
by
Marco Berzborn
Browse files
quick fix for bug in test_ita_parse_arguments
parent
86eea1ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Debug/test_ita_parse_arguments.m
View file @
71358f04
...
...
@@ -32,14 +32,14 @@ end
%% test moving unknown options to second output
s
truct
.
testpar
=
1
;
s
truct
.
testpar2
=
2
;
testS
truct
.
testpar
=
1
;
testS
truct
.
testpar2
=
2
;
parCell
=
{
'testpar'
,
2
,
'testpar2'
,
4
,
'unknown'
,
6
};
% this should give a warning
[
sArgs
]
=
ita_parse_arguments
(
s
truct
,
parCell
);
[
sArgs
]
=
ita_parse_arguments
(
testS
truct
,
parCell
);
% this should not
[
sArgs
,
unknownParams
]
=
ita_parse_arguments
(
s
truct
,
parCell
);
[
sArgs
,
unknownParams
]
=
ita_parse_arguments
(
testS
truct
,
parCell
);
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment