diff --git a/matlab/CheckPath.m b/matlab/CheckPath.m index 87ad27875cf80749216106a09d3e306e0ab97653..5fed1a106ab35ef87a8027190d519bec009d39b9 100644 --- a/matlab/CheckPath.m +++ b/matlab/CheckPath.m @@ -5,5 +5,5 @@ global M_ DirectoryName = [ M_.dname '\' type ]; if ~isdir(DirectoryName) - system([ 'md ' DirectoryName]); + mkdir('.',DirectoryName); end \ No newline at end of file