How do I programmatically switch to Dark Mode (Dark Theme) in R2025a?
Show older comments
I am running R2025a pre-release. What are the commands to switch to dark mode?
Accepted Answer
More Answers (1)
Michelle Hirsch
on 13 Jan 2025
5 votes
A few more notes:
- The default behavior is to match your system theme. So, if your system theme is Dark, MATLAB is dark.

- There's a setting (aka "preference") for it, too. An easy way to get there is to =just search for something like "dark" in the new search bar:


Categories
Find more on MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!