Skip to content

Commit

Permalink
avoid warning due to non required version flag during saving in file_…
Browse files Browse the repository at this point in the history
…saveMatlab
  • Loading branch information
BenjaminBlankertz committed Oct 10, 2016
1 parent 48fab93 commit fa8ad40
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion fileio/file_saveMatlab.m
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,10 @@ function file_saveMatlab(file, dat, mrk, mnt, varargin)

if opt.AddChannels,
%% update the nfo structure
save(fullname, '-APPEND', 'nfo', opt.SaveParam{:});
saveParam= opt.SaveParam;
iVer= strmatch('-v', saveParam);
savePara(iVer)= [];
save(fullname, '-APPEND', 'nfo', saveParam{:});
chan_offset= length(nfo_old.clab);
else
save(fullname, 'mrk', 'mnt', 'nfo', opt.SaveParam{:});
Expand Down

0 comments on commit fa8ad40

Please sign in to comment.