Troubleshooting for the Matlab application
************************************************************************************
If Matlab crashes on startup, remove the following file if it exists then restart Matlab:
\Documents\MATLAB\pathdef.m
*************************************************************************************
If the application’s basic functions do not work properly and you receive strange error messages in the Command Window when you start using the application
The first thing you should do is try restoring the application’s default paths (not the same thing as the user path described above), as follows:
1. In the Command Window, type the command:
restoredefaultpath
2. Select the Home tab, then from the Environment section the Set Path.. function.
3. Click Default. Save your selection by pressing Save, and close the window by pressing Close.
4. Close Matlab and start it again. The application should work as usual.
If restoring the default paths as described above does not help, close Matlab and delete the following file from your user profile’s document directory if this file exists:
\Documents\MATLAB
NOTE!
If the profile directory does not contain the pathdef.m file described above and you save the settings of the default paths, Matlab tries to create that file first in the application’s program directory where an ordinary user does not have author access rights. This results in an error message or ID enquiry; bypassing these brings you to the following window:
In the image above, select Yes, and Matlab will suggest the user profile’s document directory as the storage location. When pathdef.m is contained in that directory, Matlab can retrieve it from there in the future and save any changes there too.
Related instructions
Offline use of Matlab on an Aalto-Mac
Use of Matlab, installed on an Aalto Mac through the Managed Software Center, requires a network connection to Aalto’s license servers (such as VPN).