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

Removed annoying warning messages.

parent 43e2c9ec
......@@ -32,12 +32,16 @@ DirectoryName = [ dname '/' type ];
if ~isdir(dname)
% Make sure there isn't a file with the same name, see trac ticket #47
delete(dname)
if isfile(dname)
delete(dname)
end
mkdir('.', dname);
end
if ~isdir(DirectoryName)
% Make sure there isn't a file with the same name, see trac ticket #47
delete(DirectoryName)
if isfile(DirectoryName)
delete(DirectoryName)
end
mkdir('.',DirectoryName);
end
Supports Markdown
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