v4 CheckPath.m: use mkdir() instead of system call

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@599 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
michel 2006-01-15 14:46:19 +00:00
parent 4abe24ec6f
commit 3636b9cd10
1 changed files with 1 additions and 1 deletions

View File

@ -5,5 +5,5 @@ global M_
DirectoryName = [ M_.dname '\' type ];
if ~isdir(DirectoryName)
system([ 'md ' DirectoryName]);
mkdir('.',DirectoryName);
end