How to restore lost matlab preferences

Hello together,
today I started matlab as usual but it seemed, that all the preferences I've made are gone. What could have happend, that matlab lost my preferences? Is there a way to restore my preferences?
Thank you for you help.

답변 (1개)

Bhuvnesh Singh
Bhuvnesh Singh 2018년 3월 2일

0 개 추천

Hi Rafael,
1. Locate the MATLAB preferences directory for your user account.
In MATLAB 8.6 (R2015b), the default location of the preferences directory is at the following location:
C:\Users\{username}\AppData\Roaming\MathWorks\MATLAB\R2015b (on Windows)
/home/{username}/.matlab/R2015b (on Linux)
/Users/{username}/.matlab/R2015b (on Mac)
In MATLAB 8.8 (R2016b) and later, the default location of the preferences directory on Macs has changed:
/Users/{username}/Library/ApplicationSupport/MathWorks/MATLAB/R2016b
You can also run the following command in the MATLAB command prompt in order to locate your preferences directory:
>> prefdir
This is where your "matlab.prf" file is located. Your path may be different depending on how your system is setup. The preference directory may be hidden in some operating systems.

카테고리

도움말 센터File Exchange에서 Search Path에 대해 자세히 알아보기

질문:

2018년 2월 28일

답변:

2018년 3월 2일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by