There are a few things that you can try that seem to resolve the problem:
1) It is possible that some MATLAB preferences are corrupt. You can backup your preferences and let MATLAB create new default preferences to see if they resolve the problem.
If you have had previous releases of MATLAB, backup your preferences for those as well in a similar fashion in order to let MATLAB create default preferences instead of migrating the preferences from a previous release.
To back up your preferences, use the following instructions:
- Locate the preference directory using the PREFDIR command in MATLAB. - Exit MATLAB. - Rename the preference directory by appending something like "bak" to the directory name. For example, "R13bak". - Start MATLAB.
Is the problem still reproducible? If the problem is not resolved, you can restore your preferences using the following instructions:
- Exit MATLAB. - Delete the newly created preference directory. - Rename the backed up directory to the original name. For example, rename "R13bak" to "R13".
2) If your computer is having trouble switching between applications, it is likely that there is insufficient RAM to store all the memory required for the process. Your operating system must then page memory back and forth from virtual memory to RAM, which can be slow. Try increasing your computer's RAM.