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.

采纳的回答

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.

更多回答(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