06-03-2005
0001 function DirectoryName = CheckPath(type) 0002 % 06-03-2005 0003 global M_ 0004 0005 DirectoryName = [ M_.dname '/' type ]; 0006 0007 if ~isdir(DirectoryName) 0008 mkdir('.',DirectoryName); 0009 end