Is MathWorks working on a dark mode for MATLAB similar to what Visual Studio offers?

31 次查看(过去 30 天)
Visual Studio's dark mode changes the background color for all the toolbars and all over the UI. The most that can be obtained with MATLAB is to change the background color settings of text,editors and workspace windows. There are many tools that helps achieve this like Scott lowe's version shared on community here MATLAB Schemer Is MathWorks working on a dark mode to achieve complete UI dark mode unlike the patch work that is available now?
  18 个评论
Walter Roberson
Walter Roberson 2023-3-15
I can answer that question.
Do not expect Dark Mode. Not at any time.
Do not expect ANY new feature that has not been announced by a project manager or higher.
ANY feature may be withdrawn at any point before release.
It does not matter that Mathworks is offering a beta test of the feature. Beta test can reveal problems that lead to substantial delays or to scrapping the project entirely.
The economy could take a bad turn and hypothetically Mathworks may have to cut staff. Or not. You don't know, I don't know.
So don't expect any feature at all until a manager at Mathworks tells you a release date for it.

请先登录,再进行评论。

采纳的回答

MathWorks Support Team

更多回答(19 个)

simcha van Helvoort
simcha van Helvoort 2018-12-26
编辑:simcha van Helvoort 2018-12-26
I really hope they add a dark theme like visual studio.

Jaromir Kabelac
Jaromir Kabelac 2020-5-4
This needs to happen.
My eyes!

Steffen Pe
Steffen Pe 2019-1-16
I also really hope they add dark mode. with automatic day/night switch and a button in the action bar

Florian Besten
Florian Besten 2019-2-17
I also hope for this! Maybe already 2019a or 2019b?
  4 个评论
Irem Altan
Irem Altan 2020-8-16
I mean how hard could it be? I bet mathworks devs are developing matlab using dark mode on their preferred IDE.
Walter Roberson
Walter Roberson 2020-8-16
It could be a lot of work. It might be the case that a lot of different routines hard-code the colors, and that every one of those routines would have to be tracked down and converted to use a preferences system. And that at the same time, Mathworks is very likely working on rewriting major components of the IDE to remove reliance on Java. If you were setting budgets, would you consider it a wise investment to spend a bunch of time patching up a layer of code that you intend to get rid of as soon as feasible ?

请先登录,再进行评论。


Benedict Bauer
Benedict Bauer 2019-9-28
I also hope that Mathworks is working on a dark mode.
It would be really nice especially in Simulink!

Keiland Cooper
Keiland Cooper 2019-8-30
Right now it seems the only way is via preferences or schemer. I hope that they work on this, as most code editors now offer it.

Walter Roberson
Walter Roberson 2020-4-14
NO.
This is not going to happen.
Pay attention to the changes in the graphics system, to the enhancements of App Designer and Web Figures. Mathworks is busy rewriting the entire UI and many Apps to use that new design, getting rid of Java. Within 3 years the UI replacements will be introduced and the existing UI will become legacy. Mathworks is too busy working to get rid of the existing UI to work on enhancements to the existing UI such as Dark Mode.
The new UI might perhaps have Dark Mode; I cannot make a prediction about that.
  10 个评论
M Herper
M Herper 2022-6-6
编辑:M Herper 2022-6-6
Come on Mathworks, Dark Theme for the UI is easy to implement and in professional software environment meanwhile a must !
Walter Roberson
Walter Roberson 2022-6-6
M Herper: I have personally spoken to some of the developers of the feature. I did not catch why the software was originally designed the way it was designed, but they assured me that they were hard at work on retrofitting a preferences setup.
The next pre-release is likely to be made available within three weeks; it will be interesting to see what is implemented.

请先登录,再进行评论。


saar nehemia
saar nehemia 2020-3-6
I also hope MATLAB will have a complete dark mode (including toolbars and all).
right now, it is only possible to change the text and panels but not the borders... It doesn't look very well

Image Analyst
Image Analyst 2018-5-9
The Mathworks generally doesn't reveal in advance what feature enhancements they have planned. If they are working on such a feature you'll probably only know about it when it's released, either in pre-release/beta, or in the official release.

DGM
DGM 2021-5-10
I've been using a workaround for years, and it is version-agnostic. The script is posted here, though you'll need to modify it for your own needs. I don't know if a similar technique is feasible in Windows.
Simply put, I invert the entire display when I'm on a workspace with Matlab windows. This is handled automatically by the script that's invoked when switching workspaces via keyboard. Since I normally run a dark GTK theme, the titlebar and panel are still bright, but that's a small part of the screen, and I've taken to wearing a cap to keep room lights out of my field of vision, so the panel is usually out of view unless I look at it.
Of course, there are limitations to this approach. You still don't really get to customize the colors at all. You just get to darken the bulk of the UI area. You also have to deal with everything being inverted. For example, this surf plot looks right because it's easy to invert the colormap accordingly, but you can't apply inverted lighting. Using datatips on an inverted image can also lead to routine confusion if you forget that the image is actually inverted. If I need to return the display to normal, I just have a keyboard shortcut bound to xcalib -invert -alter , so I can swap back and forth when needed.
This ridiculous workaround is the reason that all the GUI tools in MIMT have options for use on an inverted display. I don't have to deal with manually inverting every image for display, imshow2(), etc does that all with the 'invert' option or a checkbox in the GUI.
  3 个评论

请先登录,再进行评论。


cui,xingxing
cui,xingxing 2021-10-28
编辑:cui,xingxing 2024-4-27
Use "MATLAB online" to switch themes perfectly! Then use a browser plug-in (e.g. Midnight Lizard) to indirectly change the colours of various web pages(matlab online is also a web page type).
-------------------------Off-topic interlude, 2024-------------------------------
I am currently looking for a job in the field of CV algorithm development, based in Shenzhen, Guangdong, China,or a remote support position. I would be very grateful if anyone is willing to offer me a job or make a recommendation. My preliminary resume can be found at: https://cuixing158.github.io/about/ . Thank you!
Email: cuixingxing150@gmail.com
  1 个评论
DGM
DGM 2021-10-28
编辑:DGM 2021-10-28
I suppose that works ... if you have a fast network connection, system resources to squander, you want to use that particular version and are willing to deal with MATLAB Drive, UI lag, and browser compatibility issues.
Don't get me wrong, I'm all for bludgeoning ugly websites with userstyles. I just don't think there are any extant solutions to the OP's problem that are not ridiculous workarounds -- my own included.
EDIT:
I suppose that was a bit aggressive of me. If you had merely prefaced your solution with "If you use MATLAB Online ..." instead of "Use MATLAB Online ...", I wouldn't really have had anything to say. It's a legitimate and effective solution for those who use the online version. The wording just presumes that it (the onlne version) is a generally applicable option.
I'm probably still shedding frustration from the last time I had to use it, and that shouldn't detract from your helpfulness.

请先登录,再进行评论。


mysiak
mysiak 2021-9-2
It's time to release the dark theme.
In many other programs I am using a version of dark mode for at least 7-8 years. Everyone already recognized the benefits.
So should Mathworks do something about this, it's almost ridiculous.
And yes I am aware it's not simple task, but it's not something for 2 years of work.
  1 个评论
Walter Roberson
Walter Roberson 2021-9-2
Mathworks has a release process, and would never consider releasing something like this for existing MATLAB releases, not right now.
There is a new MATLAB release that is probably going to become public in approximately 3 weeks. If Mathworks has a dark-mode ready, it would be part of that release. Beginning of September is not time to release something like this.
If Mathworks does not have a dark mode ready, then it will not be part of the upcoming release.
... I don't know the time frame myself; I have been too busy to look at the notes about upcoming features.

请先登录,再进行评论。


Jan
Jan 2019-5-19
I'm using Matlab Schemer from the FileExchange successfully and I'm happy with it. Unfortunately I cannot set Windows to the dark mode, because then the dialogs for saving or loading files are not displayed anymore.

Varun Bansal
Varun Bansal 2020-9-15
After spending few days with burning eyes, I went into control panel and selected 'Invert color' option in windows, and now my Matlab bg is all black :) looks like a nice turbo C window

Shane Sullivan
Shane Sullivan 2020-9-30
编辑:Image Analyst 2022-6-9
The Windows 10 "Invert Color" option is great. But you have to manually do it, and un-do it. And if you switch to other programs (where you don't want inverted colors) it is annoying. To use this, type in invert into the "Type here to search" field on the task bar, or if you don't have that search field, then just type the Windows key on the keyboard and immediately start typing invert. You should see a suggestion for Invert Colors system setting. Pick that and you'll get the Magnifier settings window:
Near the bottom you should see the Invert Colors checkbox.
Otherwise, you can install Easy Invert, and set it up to automatically invert only MATLAB! Then, problem solved! https://www.wintools.info/index.php/download#EasyInvert
  4 个评论
Ningjun Liu
Ningjun Liu 2022-6-9
This is a great solution! I really hope I saw your answer to this question earlier, but hey, it's never too late to fix something :)
DGM
DGM 2023-3-16
编辑:DGM 2023-3-16
Last I recall, Compiz supports single-window inversion, so that may be a similar option for Linux users. Personally, I don't use Compiz. I'd rather just conditionally invert the entire display. It's cheaper, and I don't have to deal with making sure it applies to every figure window that pops up.

请先登录,再进行评论。


Leonhard Lücken
Leonhard Lücken 2020-4-21
Would be great to have dark toolbar, window decorations, etc! And the Live Editor seems to be resistant to scheming entirely... :(

Berthold Reisz
Berthold Reisz 2020-11-9
编辑:Berthold Reisz 2021-4-23
Simply go to the Home-tab in Matlab click on Preferences in the upper toolbar and choose Matlab colors from the left control panel. Remove the hook from "Use system colors" and select text white, background black. Subsequently, you can choose user defined colors for highlighting various keywords. Click on apply and you have your dark theme (apart from the toolbar).
This feature was already in my 2016b-version.
  7 个评论
Rik
Rik 2020-11-10
That is what dark mode would mean to me. I think I would expect such a dark mode to also affect default figure and axes properties (so you don't get blasted with a white screen if you create a plot), but I'm not sure that is ideal, as all other functions (like GUIs) that rely on certain defaults would experience issues.

请先登录,再进行评论。


MathWorks Support Team

Image Analyst
Image Analyst 2023-3-20

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by