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
|
|
|
|
2006-03-06 11:00:32 +01:00
|
|
|
if ~isdir(DirectoryName)
|
|
|
|
mkdir('.',DirectoryName);
|
2005-10-01 11:17:40 +02:00
|
|
|
end
|