Give Dark Mode a try in the R2025a pre-release

General
Seguir


Give Dark Mode a try in the R2025a pre-release

Mike Croucher el 13 de En. de 2025 (Editada a las el 13 de En. de 2025)
Actividad más reciente Respuesta de Mitchell Sandoe a las el 22 de En. de 2025 a las 19:49

Hi everyone
The R2025a pre-release is now available to licensed users. I highly encourage you to download, give it a try and give us some feedback.
The first thing I tried was switching to Dark mode. Here's the magic
>> s = settings;
>> s.matlab.appearance.MATLABTheme.PersonalValue = "Dark";
Inicie sesión para participar
Mitchell Sandoe
Mitchell Sandoe el 22 de En. de 2025 a las 16:41
This is great! Will make things much more comfortable for many users.
I was scavenging the events and set-observable properties surrounding the Theme and I can't seem to find anything that I can use to detect any changes to the theme from within the GUis of my program. Is there or will there be a way for us to listen for changes to settings().matlab.appearance.MATLABTheme or a figure's Theme? Apologies if I just did not look hard enough.
It would be helpful since font colors and icons chosen for the usual light gray theme have insufficient contrast in the dark theme. With there not being a great way for MATLAB to automatically adjust those details for us (I would guess), it would be nice to have a means to adapt for that ourselves.
Adam Danz
Adam Danz el 22 de En. de 2025 a las 18:29
In R2025a, figures have a ThemeChangedFcn callback function that responds when the figure's theme is changed.
Mitchell Sandoe
Mitchell Sandoe el 22 de En. de 2025 a las 19:49
Ah. Once again, I went the long way around. Thanks!
William Thielicke
William Thielicke el 21 de En. de 2025 a las 14:43 (Editada a las el 21 de En. de 2025 a las 14:44)
I think this is a nice thing to have. Unfortunately, the new system breaks my user interface (because some sizes of the elements seem to have changed). This will require quite some work I fear, and I don't have the time at the moment:
(right click on the image and select "open image in new tab" to see at full size)
Farouk
Farouk el 19 de En. de 2025
great start but they could have done a better job. I was already getting this look with matlabSchemer. I hope they add more themes like VS code
Chen Lin
Chen Lin el 14 de En. de 2025
This is great news! Dark Mode, which has been one of the popular topics in community, is availabe for everyone to try out! Let's have some good discussions here.
Mike Croucher
I write The MATLAB Blog at MathWorks and specialize in High Performance Computing, Research Software Engineering and Machine Learning. You can also follow me at BlueSky https://bsky.app/profile/walkingrandomly.bsky.social
23
Publicacións
225
Responders
39
Seguidores
Go to top of page