No colors in the file editor when using high contrast on windows 11

조회 수: 4 (최근 30일)
It's only white text on black background:
  • Syntax isn't highlighted.
  • There's no indication for a selected text.
There wasn't an issue in earlier versions.
  댓글 수: 2
Zohar
Zohar 2025년 5월 30일
Look at the side bar on the right: It details the product and the release.

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

채택된 답변

Divyajyoti Nayak
Divyajyoti Nayak 2025년 6월 2일
편집: Divyajyoti Nayak 2025년 6월 2일
MATLAB Desktop doesn't fully support the high contrast mode. However, it is possible to opt out of the high contrast mode for the MATLAB Editor only through the following workaround:-
1. Close MATLAB. 
2. Locate your MATLAB installation. On Windows this will likely be at 'C:\Program Files\MATLAB\R2023b'. 
3. Replace the contents in 'C:\Program Files\MATLAB\R2023b\toolbox\matlab\editor\application\index.html' file with the attached "index" file.
4. Open MATLAB. 
5. Open an Editor tab and the syntax highlighting should work as expected.
  댓글 수: 2
Divyajyoti Nayak
Divyajyoti Nayak 2025년 6월 2일
Hi @Zohar, I had missed to attach the file, which I have now attached to the answer. Sorry about that.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

태그

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by