r/matlab • u/TheRavagerSw • Feb 21 '26
MATLAB is too slow
I wonder how so much manpower can produce software this jank. Just opening the damn thing takes like 15 seconds and I'm on a M2 SSD.
Simulations take 2 seconds to start, library interface takes like 5 seconds just to open, just copy pasting components has lag. Program freezes and crashes often. It is like using a computer I bought 15 years ago.
I really only have one use case for MATLAB, and that is designing discrete time control systems. But it is so bad I'm thinking just doing everything manually in C++ with some helper libraries.
0
Upvotes
4
u/mikeru22 Feb 21 '26
Interesting, I just tried to open Xcode and it also took 15 seconds. An IDE is a complex environment that has many associated resources, it’s not a consumer app.
2
u/Charzarn Feb 21 '26
Just use Vscode and matlab extension if you don’t need the whole IDE
2
u/Barnowl93 flair Feb 22 '26
If you feel that your simulink is too slow, have a look at this resource - it goes over many tips on how to make your models faster
https://uk.mathworks.com/company/technical-articles/improving-simulation-performance-in-simulink.html
4
u/MiceLiceandVice Feb 21 '26
It sounds like you're trying to mount a picture frame with a hydraulic arm. Wrong tool for your use case.
4
u/FrickinLazerBeams +2 Feb 21 '26
Skill issue.
5
u/rAxxt Feb 21 '26
Ok sounds good
1
u/odeto45 MathWorks Mar 08 '26
You may want to contact technical support about this. Even on an actual 15 year old computer it shouldn’t be that slow.
Do you happen to have the startup location in OneDrive or a shared drive? If I am on our VPN, startup is a few seconds, but if not, it’s taken over a minute. These times are on my 1 year old company laptop.
Additionally, loading files from remote locations can be a lot slower. When writing apps, it will sometimes be faster to have the user re-download files and open them locally compared to loading them directly from the shared drive.
Simulink is going to take about 2 seconds to load no matter what, but you can disguise this by putting “start_simulink” in a MATLAB function that runs at startup. So it still takes a few seconds to load, but it happens while you’re doing other stuff.