Hi Charles,
You can perform the following steps in order to get MATLAB backup:
- Take a backup of your 'pathdef.m' file, which can be located by using the command
- Before proceeding, ensure to make a safe copy of the file by copying it to a folder outside of your MATLAB path.
- After taking the backup, execute the following commands in the MATLAB Command Window to restore the default MATLAB search path and rehash the toolbox cache:
restoredefaultpath
rehash toolboxcache
- Use MATLAB to see if the issue occurs again. If the issue is resolved, then save the new MATLAB search path by executing the following command:
This might remove any custom path that you have created.