Performance issue in Matlab r2025b
Afficher commentaires plus anciens
Hello,
Today, I decided to update matlab to r2025b (I have been using r2023b since it was released).
First impressions were not good, the first thing I did is to configure the behavior of figures to be the same as in previous releases (to open everytime in the same position and with the default size). I think that opening figures with the size and position of the last figure is not very practical (maybe yes for some users, not at all for me).
Then, another disappointment with the files explorer...now I can not see on a glance if a folder is empty, I have to expand the arrow beside to check it :(, and the symbol next to the csv files is not anymore the excel logo. I know they are not really important topics but I was very used to the previous GUI and seems dificult to get used to the new one.
Anyway, progress is always good so lets give it a chance...
But finally, and the reason of this question, I start running a code that goes trough all the csv files in a folder (lets say 20 files), plots around 60 figures for each file (lots of figures in the end) and saves them, along with some .mat files. I have been using this code with r2023b for long time, it takes some time of course, but with r2025b I would say it takes like x3 or x4 times longer. Any clue if this can be solved?
I still want to give another chance to this release but...doesn't seem very promising. Good thing I didn't started migrating my Simulink models to this version :)
Best regards!
9 commentaires
Paul
le 18 Déc 2025
Did you try a tool like the profiler in 2023b and 2025b to try to identify where the differences are in execution time?
Intresting point about Simulink. There have been many complaints about Matlab r2025 on this forum, but I don't recall seeing any about Simulink.
Dyuman Joshi
le 18 Déc 2025
Modifié(e) : Dyuman Joshi
le 18 Déc 2025
Just a FYI - This is not the platform to give feedback regarding MATLAB, this is a Q&A platform supported by volunteers focusing on the programming side of the queries.
If you want to give feedback to TMW regarding their products, go through here -
Contact Support > Product Support > Enhancement Suggestions.
@Paul, Simscape (which is a part of Simulink) has had a major news in R2025, i.e. the removal of SPS without any prior notice. That should count as something, right?
Guillermo Rubio
le 18 Déc 2025
Dyuman Joshi
le 18 Déc 2025
@Guillermo Rubio, the reason I mentioned it is because your feedbacks here won't lead to any upgrades/changes; though we will welcome the discussion - offering suggestions/workarounds/comments (as Paul has done) or mentioning information relevant to the topic (as Star Strider has done).
Nevertheless, the best option for you to pass on your feedbacks is to directly contact TMW as I have mentioned above.
Guillermo Rubio
le 18 Déc 2025
Guillermo Rubio
le 19 Déc 2025
dpb
le 1 Jan 2026
It appears virtually everything is 4-5X as long -- routines that were 18-22 sec are now roughly 100 sec.
I would suggest this is a prime candidate to be submitted as technical support ticket at <Product Support Page>.
Mathworks needs to see real world issues like this.
Benjamin Kraus
le 5 Jan 2026
@Guillermo Rubio I have two suggestions for you to try to help isolate the cause of the performance regression:
- Have you experimented with not setting the figure position and leaving figures docked in the figure container? When I say "docked": the default behavior for figures in R2025a and later is to open docked into a "figure container", which allows multiple figures to occupy the same window. That "figure container" may be docked in the desktop or not. Opening figures that are docked in the figure container will be faster than opening figures that are not docked in the figure container (whether or not the figure container itself is docked in the desktop), but I'm not certain how much of the performance can be accounted for by the undocked figures vs. something else. It would be useful to test how much of a factor docked vs. undocked figures makes in your performance measurements. Note that setting the figure position will cause it to become undocked so to do this experiment you need to stop setting the figure's position.
- Can you start the profiler using the additional argument -detail builtin? This will provide a bit more context about what exactly is taking time within savefig.m.
profile on -detail builtin
Then, once you have stopped the profiler, run this code to save the results to a MAT-file and add the MAT-file as as attachment here. Also make sure to indicate exactly what MATLAB release you are using (the full output from version so I can get the point release as well as the major release).
p = profile('info');
save profileResults.mat p
Guillermo Rubio
le 7 Jan 2026
Réponse acceptée
Plus de réponses (1)
Hi Guillermo, with respect to your comment about the Files panel:
"Then, another disappointment with the files explorer...now I can not see on a glance if a folder is empty, I have to expand the arrow beside to check it :("
This change was intentionally made to address users' feedback about navigating around very large directories. In prior releases, the Files panel was too slow to do such operations because, among other things, it had to make extra queries for every folder in order to determine whether to show the "expand" icon. With this change, which is also present in other modern applications, 25a and later can effectively navigate among directories with 10k+ files. That said, I understand that your desire may be different: if there is interest in a setting to control such behavior, please let me know.
Catégories
En savoir plus sur Entering Commands dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



