Code snippet of the day
In Matlab, use an exclamation mark !
to pass commands to the terminal. Use !pwd
to check your working directory or !ls
to check which files are in the current folder. I came across this first here.
My favorite is !open .
(on a mac) and !explorer .
(on a PC) which opens the current folder location.