Global Index (all files) (short | long) | Local Index (files in subdir) (short | long)
a = cdir(arg);
function a = cdir(arg); global CURDIR get_cdtem; eval(['cd ' arg ';']); if nargout == 1; a = pwd; end