2005-10-01 11:17:40 +02:00
|
|
|
function DirectoryName = CheckPath(type)
|
|
|
|
% 06-03-2005
|
|
|
|
global M_
|
|
|
|
|
2006-01-16 09:20:11 +01:00
|
|
|
DirectoryName = [ M_.dname '/' type ];
|
2005-10-01 11:17:40 +02:00
|
|
|
|
|
|
|
if ~isdir(DirectoryName)
|
2006-01-15 15:46:19 +01:00
|
|
|
mkdir('.',DirectoryName);
|
2005-10-01 11:17:40 +02:00
|
|
|
end
|