how do i regenerate my matlab preferences? in matlab

If you would like to reset your matlab preferences, you can follow these steps:

  1. Close Matlab
  2. Navigate to your Matlab preferences folder. The exact location of this folder will depend on your operating system. You can find out the location by running the following command in Matlab's command window:
main.m
prefdir
8 chars
2 lines
  1. Rename or delete the "matlab.prf" file within the preferences folder.
  2. Restart Matlab. This will create a new "matlab.prf" file with default preferences.

If you would like to restore your Matlab preferences to a previous state, you can follow these steps:

  1. Close Matlab
  2. Navigate to your Matlab preferences folder (as described above).
  3. Backup your current "matlab.prf" file by renaming it to something else (e.g. "matlab-old.prf")
  4. In the preferences folder, look for a previously saved copy of your preferences file. It should be named something like "matlab.prf.YYYY-MM-DD" where "YYYY-MM-DD" is the date the file was saved.
  5. Make a copy of the saved preferences file and rename it to "matlab.prf"
  6. Restart Matlab. This will load your preferences from the saved file.

gistlibby LogSnag