matlab设置背景的颜⾊代码,如何把matlab背景颜⾊改成护眼
⾊,如何改变字体的⼤⼩。...
1, 在matlab命令⾏中运⾏prefdir, 获取matlab.prf⽂件所在路径。
2, 打开matlab.prf所在路径, 到matlab.prf⽂件。
3, 把⽂件内容⽤如下内容替换便可。
#MATLAB Preferences
#Mon Mar 19 13:58:34 CST 2018
MatlabExitConfirm=Bfalse
ColorsMLintAutoFixBackground=C-1121868
RLWidthB2_WB_2014b_1_1=I130
RLWidthB2_WB_2014b_1_0=I130
EditorOtherEditor=S
EditorAutoReloadFiles=Btrue
EditorReloadFiles=Btrue
WorkspaceBrowserStatNumelLimit=I500000
DocumentsDetailViewerCollapsed=Bfalse
Color_CmdWinWarnings=C-39936
WorkspaceBrowserUseNaNs=Btrue
CommandWindowShowStartupMessage=Bfalse护眼设置
EditorGraphicalDebugging=Btrue
Editor.NonlocalVariableHighlighting=Btrue
Editor.VariableHighlighting.Automatic=Btrue
RLPrevInitB2_WB_2014b_1=Btrue
Color_CmdWinErrors=C-1703936
GeneralTextUseSystemFont=Btrue
Desktop.Font.Editor=SCustomFont
DocumentsDetailViewerSize=I170
DocumentsDetailViewerRatio=J4634776195205422701
EditorMRU4=SC:\\Program Files\\MATLAB\\R2016a\\bin\\mcc.bat
EditorMRU3=SC:\\Program Files\\MATLAB\\R2016a\\toolbox\\stats\\stats\\@classregtree\\test.m
EditorMRU2=SE:\\matlabfile\\Untitled3.m
EditorMRU1=SE:\\matlabfile\\Untitled.m
EditorCodepadHighVisible=Btrue
RLHiddenB2_WB_2014b_1=I16376
Colors_M_UnterminatedStrings=C-5111808
RLOrderB2_WB_2014b_1=S0:1:
Colors_M_SystemCommands=C-3454186
Desktop.Font.HTML2.Custom=F0 14 Monospaced CommandWindowClearConfirmation=Btrue ColorsBackground=C-198941
Colors_M_Warnings=C-27648
EditorMRUSize=I8
ColorsText=C-16304574
EditorAutoTerminateLastLine=Bfalse
Editor.NonlocalVariableHighlighting.TextColor=C-32640 Colors_M_Errors=C-65536
Desktop.Font.Editor2.Custom=F0 18 Microsoft YaHei UI Editor.VariableHighlighting.Color=C-7167583
Desktop.Font.Code2=F0 10 Monospaced
Colors_M_Keywords=C-8021760
Desktop.Font.Text2=F0 9 Microsoft YaHei UI
Colors_HTML_HTMLLinks=C-2935166 EditorSaveOnBlur=Btrue
Editorhighlight-lines=C-197412
Colors_M_Strings=C-13983336
EditorBuiltinEditor=Btrue ColorsUseMLintAutoFixBackground=Btrue EditorOtherEditorTextFieldEntry=S
Colors_M_Comments=C-7167583 EditorCodeBlockDividers=Btrue
ColorsUseSystem=Bfalse
EditorRightTextLimitLineColor=C-3355444
效果图如上图
⼆, 改变字体的⼤⼩
1,点击主页
2, 到预设(布局的右侧)。
3,到' 字体 ',选择⾃定义。
4,能够有选择的改变不⼀样⼯具的⼤⼩(以“编辑器”为例),点击编译器,在右侧选择⾃定义。(通常改成18号字就能够了)