将下段代码如到C:\Users\Peng Chen\AppData\Roaming\MathWorks\MATLAB\R2016a\matlab.prf
先备份.prf,再替代之前的。
1 #MATLAB Preferences 2 #Fri Apr 13 11:41:43 CST 2018 3 MatlabExitConfirm=Bfalse 4 ColorsMLintAutoFixBackground=C-7973573 5 RLWidthB2_WB_2014b_1_1=I130 6 RLWidthB2_WB_2014b_1_0=I130 7 EditorOtherEditor=S 8 EditorAutoReloadFiles=Btrue 9 EditorReloadFiles=Btrue 10 DocumentsDetailViewerCollapsed=Bfalse 11 Color_CmdWinWarnings=C-39936 12 EditorGraphicalDebugging=Btrue 13 RLPrevInitB2_WB_2014b_1=Btrue 14 GeneralTextUseSystemFont=Btrue 15 Desktop.Font.Editor=SCustomFont 16 RLHiddenB2_WB_2014b_1=I16376 17 Colors_M_UnterminatedStrings=C-5111808 18 Colors_M_SystemCommands=C-448910 19 Editorhighlight-caret-row-boolean-color=C-2167080 20 CommandWindowClearConfirmation=Btrue 21 ColorsBackground=C-14211038 22 Colors_M_Warnings=C-27648 23 EditorMRUSize=I8 24 ColorsText=C-460558 25 EditorAutoTerminateLastLine=Bfalse 26 Editor.NonlocalVariableHighlighting.TextColor=C-5471745 27 Colors_M_Errors=C-65536 28 Desktop.Font.Editor2.Custom=F0 14 \u5FAE\u8F6F\u96C5\u9ED1 29 Editor.VariableHighlighting.Color=C-6931898 30 Desktop.Font.Code2=F0 10 Monospaced 31 Colors_M_Keywords=C-10036753 32 Desktop.Font.Text2=F0 9 Microsoft YaHei UI 33 EditorSaveOnBlur=Btrue 34 Colors_HTML_HTMLLinks=C-16732805 35 Editorhighlight-lines=C-13553108 36 Colors_M_Strings=C-1647756 37 EditorBuiltinEditor=Btrue 38 EditorOtherEditorTextFieldEntry=S 39 Colors_M_Comments=C-8355712 40 ColorsUseSystem=Bfalse
效果:
原文地址:https://www.cnblogs.com/cpsmile/p/8819450.html
时间: 2024-10-29 16:52:42