simulink matlab function code editor not using dark theme

조회 수: 15 (최근 30일)
Sebastián Gómez Jorge
Sebastián Gómez Jorge 2025년 6월 3일
답변: Pascal 2025년 8월 4일
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

답변 (2개)

Dhruv
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:
  1. Navigate to the Home tab and click Settings in the Environment section.
  2. Go to the Colors section under MATLAB > Appearance.
  3. Under Desktop tool colors, adjust the Text and Background colors as desired (e.g., black background with light text).
  4. Click Apply to save the changes.
Note: Dark mode is not supported in MATLAB R2022b and earlier releases. It is available starting from MATLAB R2023a.
  댓글 수: 1
Sebastián Gómez Jorge
Sebastián Gómez Jorge 2025년 6월 13일
no, I am refering to MATLAB 2025a, dark mode is working everywhere but not in the embedded editor in simulink.

댓글을 달려면 로그인하십시오.


Pascal
Pascal 2025년 8월 4일
Matlab drak mode works quite well but we need the same for Simulink.

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

제품


릴리스

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by