How do I enable dark mode in MATLAB?

1 025 vues (au cours des 30 derniers jours)
MathWorks Support Team
MathWorks Support Team le 25 Avr 2023
How do I enable dark mode in MATLAB?

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 11 Août 2025
Modifié(e) : MathWorks Support Team le 11 Août 2025
Dark mode is not supported in MATLAB R2022b and earlier releases.
If you have MATLAB R2023a or a later release, you can use dark mode by downloading the new desktop for MATLAB beta support package with this link.
After installing the beta support package, enable dark mode using these steps: 
  1. Select ‘Preferences’ in the ‘Home’ tab
  2. Select ‘Appearance’ on the left-hand side of the ‘Preferences’ window
  3. Click the ‘Theme’ drop-down menu and select ‘Dark’ 
As of MATLAB R2025, dark mode is fully supported. Refer to this link to change the theme of MATLAB.
Alternatively, you can use MATLAB Online. Refer to this link to get started with MATLAB Online. The steps to enable dark mode in MATLAB Online are the same as in the beta.
If you don’t have access to MATLAB Online or MATLAB R2023a or later, you can manually change the text and background colors of the MATLAB desktop by referring to the instructions in this documentation.
  3 commentaires
John D'Errico
John D'Errico le 5 Mai 2023
@James - The solution I eventually found was to reboot the computer, something I did not try at first. This worked, allowing MATLAB to relaunch. Once MATLAB did open, I could disable the dark theme.
But your solution should work well.
cui,xingxing
cui,xingxing le 8 Juin 2025
R2025a already has built-in support for dark mode, please remember to update the answer accordingly.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by