MATLAB extremely slow. How to fix?

Slow to the point of moving the cursor takes upward of ten seconds each time.
When I started MATLAB up it asked if I wanted to let it accept incoming network connections and I said deny. Could that be affecting it? How can I change that back.

2 Comments

Do you have Windows? If so type control-shift-Esc and look at the performance tab, especially the CPU. Is it really MATLAB that is taking all the image? Does the cursor move slow in other apps? If something/anything even MATLAB is taking all the CPU time, it will move slow in all apps.
allow all permissions for the matlab website then it will work normally.

Sign in to comment.

Answers (1)

Hi James,
To speed up MATLAB, you can try the following fixes:
1. Follow the memory management suggestions in the document below.
2. You can free up RAM by running MATLAB as the sole application.
3. Launching MATLAB 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. The RAM used by MATLAB at runtime is between 40MB-60MB. The HELP browser can take up another 12MB. So, if you have limited RAM, increase the RAM in your system to the recommended 128MB or more.
Thank you,
Rishav Saha

Categories

Products

Release

R2020a

Asked:

on 27 May 2022

Commented:

on 8 Aug 2024

Community Treasure Hunt

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

Start Hunting!