Matlab 2021a freezes on startup for ~5 min, then becomes responsive

When I startup Matlab2021a on my Win10 machine, the program works fine for the first 5 seconds, but becomes totally unresponsive for ~5 mins. After the 5 mins, I am able to use the program normally. Its very annoying to have to launch matlab and wait for it, I don't remember having this problem in the past on other laptops.
My license for matlab comes from my university, perhaps there is some delay in checking my license?
Any help is welcome!

4 Comments

license checks can be a problem, and that is worth checking out.
Another area to check is if you are using OneDrive for your files, as there could be a delay for synchronization.
Are there network drives in your current folder history?
List current folder history using the 2 lines below
S = settings();
currFolderHistory = S.matlab.desktop.currentfolder.History.PersonalValue'
This was the cause of the same problem in my lab after people set the current directory to remote drive locations. Clearing the remove folders from history solved it.
I wrote a utility a while ago to do this: removeDrivesFromHistory()
I recently uninstalled and reinstalled Matlab, and when I run the commands above I get this output (in red text):
No value is set for setting 'History' at personal level.
I did just notice that the files I am working with appear greyed out while Matlab is frozen, then come back when it wakes up.
These files are saved on my C drive though, so it shouldn't be trying to sync to a network drive.
What you are observing is not normal. However, I do not have any more ideas as to what the problems might be. You should probably contact Mathworks, as this is effectively an "installation" problem.

Sign in to comment.

Answers (1)

Hi
Please reach out to our Support Team. They would be able to assist you with installation and licensing issues.

Categories

Products

Release

R2021a

Asked:

on 27 Jul 2021

Answered:

on 30 Jul 2021

Community Treasure Hunt

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

Start Hunting!