- Navigate to the Home tab and click Settings in the Environment section.
- Go to the Colors section under MATLAB > Appearance.
- Under Desktop tool colors, adjust the Text and Background colors as desired (e.g., black background with light text).
- Click Apply to save the changes.
simulink matlab function code editor not using dark theme
15 次查看(过去 30 天)
显示 更早的评论
I upgraded from matlab 2022b to 2025a and just noticed that the dark theme is not used in the matlab function block code editor in simulink. Has anyone got this working? It was working fine in 2022b. Otherwise, is there any way to edit the code in the script editor (which is actually using the dark theme)?
Thanks
0 个评论
回答(2 个)
Dhruv
2025-6-4
It seems you are referring to MATLAB Colors Preferences in R2022b. To apply a black background to the editor in MATLAB R2025a, follow these steps:
Note: Dark mode is not supported in MATLAB R2022b and earlier releases. It is available starting from MATLAB R2023a.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!