Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Institute of Technical Acoustics (ITA)
toolbox
Commits
71358f04
Commit
71358f04
authored
Feb 02, 2017
by
Marco Berzborn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quick fix for bug in test_ita_parse_arguments
parent
86eea1ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Debug/test_ita_parse_arguments.m
Debug/test_ita_parse_arguments.m
+4
-4
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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