- Open the "startup" MATLAB script file in your "userpath" folder:
- Save the script and restart MATLAB. Type "tempdir" in the MATLAB command window and you can see that the temporary directory where MATLAB saves the LOG files have changed.
- You can also change the "TMP" environment to any other folder of your preference by using the "setenv" function.