gistlib
To switch back to the previous directory in MATLAB, you can use the cd command with a - argument as follows:
cd
-
main.mcd - 5 chars2 lines
cd -
This will switch to the previous directory you were in before your current directory.
gistlibby LogSnag