Give Dark Mode a try in the R2025a pre-release

General
Verfolgen


Give Dark Mode a try in the R2025a pre-release

Mike Croucher am 13 Jan. 2025 (Bearbeitet am 13 Jan. 2025)
Letzte Aktivität Antwort von Mitchell Sandoe am 22 Jan. 2025

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";
Anmelden, um teilzunehmen
Mitchell Sandoe
Mitchell Sandoe am 22 Jan. 2025
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 am 22 Jan. 2025
In R2025a, figures have a ThemeChangedFcn callback function that responds when the figure's theme is changed.
Mitchell Sandoe
Mitchell Sandoe am 22 Jan. 2025
Ah. Once again, I went the long way around. Thanks!
William Thielicke
William Thielicke am 21 Jan. 2025 (Bearbeitet am 21 Jan. 2025)
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 am 19 Jan. 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 am 14 Jan. 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
25
Veröffentlichens
225
Antwortens
40
Anhänger
Go to top of page