- Tech Note 1106: Memory Management Guide
MATLAB 2017b running very slow.
15 views (last 30 days)
Show older comments
I am running MATLAB 2017b version on my PC with an academic license. However, whenever I open MATLAB it takes a lot of time to start up and even to change the current directory.
Can anyone suggest any solution?
0 Comments
Answers (1)
Chidvi Modala
on 12 Mar 2020
MATLAB may be running slowly because you have a limited amount of RAM (i.e. under 128MB).
The RAM used by MATLAB at runtime is between 40MB-60MB. The HELP browser can take up another 12MB. If you have limited memory (RAM), your processor may start using virtual memory (from your hard drive). Accessing information from the hard drive is extremely slow compared to accessing information from RAM.
To speed up MATLAB:
1. Follow the memory management suggestions in the documents below.
2. You can free up RAM by running MATLAB as the sole application.
3. See the Related Solutions "Is it possible to make MATLAB start up faster if I launch without the MATLAB Desktop?" and "Why does MATLAB run slower when the HELP browser is open?".
4. Some people have found that launching without the desktop, and then subsequently invoking the desktop, speeds up MATLAB, both when starting and when running. To do this, you can add the -nodesktop option during startup, and add the following line of code to your "startup.m" file:
desktop
4. Increase the RAM in your system to the recommended 128MB or more.
0 Comments
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!