Commit 22e7c9c9 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed bug (removed extension to fname).

parent f79acf9f
......@@ -52,7 +52,7 @@ if nargin<2 || isempty(fpath)
else
fname = append_extension_if_needed(fname);
fid = fopen([fpath filesep fname],'r');
FNAME = fname;
FNAME = fname(1:end-1);
end
% Read the matlab file.
......
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