This script does it!
:)
% inDIR is the directory containing the save work
if exist([inDIR],'dir')>0
disp(['not doing ::: ', inDIR])
writeout = ['echo "not doing ::: ', inDIR, '">>notes.txt'];
system(writeout)
% do nothing
else
% do it command here!!
end
if exist([inDIR],'dir')>0
disp(['not doing ::: ', inDIR])
writeout = ['echo "not doing ::: ', inDIR, '">>notes.txt'];
system(writeout)
% do nothing
else
% do it command here!!
end
No comments:
Post a Comment