Skip to content
Snippets Groups Projects
Commit 22e7c9c9 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed bug (removed extension to fname).

parent f79acf9f
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment