Verified Commit 88101ccb authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Modernization: use tilde (~) syntax for ignored output arguments

parent c3693b69
......@@ -48,7 +48,7 @@ check = 1;
if nargin<2 || isempty(fpath)
fname = append_extension_if_needed(fname);
fid = fopen(fname,'r');
[junk, FNAME, vessel] = fileparts(fname);
[~, FNAME, vessel] = fileparts(fname);
else
fname = append_extension_if_needed(fname);
fid = fopen([fpath filesep fname],'r');
......
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