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

Fixed bug (remove dot with extension in fname).

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