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

Fixed bug (wrong variable name).

parent 3ef5e579
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,7 @@ if nargin>1 || isempty(tpath) ...@@ -50,7 +50,7 @@ if nargin>1 || isempty(tpath)
end end
mex_flag = 0; mex_flag = 0;
if exist(name1)==3 if exist(fname)==3
mex_flag = 1; mex_flag = 1;
end end
......
...@@ -152,6 +152,6 @@ end ...@@ -152,6 +152,6 @@ end
function file = append_extension_if_needed(file) function file = append_extension_if_needed(file)
if ~isequal(file(end-1,end),'.m') if ~isequal(file(end-1:end),'.m')
file = [file '.m']; file = [file '.m'];
end end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment