MATLAB R2024a slow startup on Windows11 23H2

47 views (last 30 days)
haoxuan
haoxuan on 29 Dec 2024 at 14:03
Answered: Manikanta Aditya on 29 Dec 2024 at 14:36
MATLAB Startup Performance Metrics (In Seconds)
total item gap description
=========================================================
0.00 0.00 0.00 MATLAB script
0.16 0.16 0.00 main
0.18 0.02 0.00 Session Initialize
60.78 0.00 60.60 Toolbox cache load Start
60.78 60.58 0.03 Session Initialize
60.89 0.05 60.83 LM Startup
61.01 0.00 0.12 splash
61.17 0.39 60.78 cachepath
61.65 0.23 0.40 Constant Initialization
61.70 0.69 0.00 Engine Startup
61.93 0.23 0.00 InitSunVM
63.80 1.81 0.06 PostVMInit
63.80 2.10 0.00 mljInit
64.40 0.60 0.00 StartDesktop
64.40 2.70 0.00 Java initialization
64.45 0.00 0.05 psParser
64.45 0.00 0.00 Toolbox cache join
65.86 1.12 0.29 matlabpath
66.00 0.01 0.12 matlabrc
66.00 0.00 0.00 Startup File
66.58 2.18 64.40 Init Desktop
66.72 2.32 64.40 Ready
=========================================================
Items shown account for 102.0% of total startup time
The 'Toolbox cache load Start' step took 60 seconds, but the same problem and solution were not found

Answers (1)

Manikanta Aditya
Manikanta Aditya on 29 Dec 2024 at 14:36
Hello @haoxuan,
The long duration for the 'Toolbox cache load Start' step in your MATLAB startup metrics suggests that the toolbox path caching process is taking a significant amount of time. This can happen for several reasons, such as a large number of toolboxes, network issues, or disk performance problems.
Here are a few steps you can take to address this issue:
  • Update Toolbox Path Cache: Go to Home > Environment > Preferences. Select MATLAB > General. Click Update Toolbox Path Cache and then click OK.
  • If you have many toolboxes installed, consider disabling the ones you don't use frequently. This can reduce the time taken to load the toolbox cache.
  • If your MATLAB installation or toolboxes are on network drives, try moving them to a local drive to see if it improves performance.
  • Sometimes, a fresh installation of MATLAB can resolve performance issues. Ensure you install it on a fast local drive (preferably an SSD).
Refer to the following documentation to know more about 'Toolbox Path Caching in MATLAB':
Refer to the following MATLAB Answer posts which talk about similar issue:
I hope this helps you.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!