码迷,mamicode.com
首页 > 其他好文 > 详细

Matlab修改背景颜色

时间:2018-12-11 12:49:38      阅读:334      评论:0      收藏:0      [点我收藏+]

标签:statistic   html_   ensure   ssi   hub   case   背景   option   data   

 

步骤:

1, 在matlab命令行中运行prefdir, 获取matlab.prf文件所在路径

2, 打开matlab.prf所在路径, 找到matlab.prf文件, 作备份

3, 将以下内容添加到matlab的matlab.prf文件中

https://github.com/scheckley/matlab-monokai

Editor.VariableHighlighting.Color=C-6931898
ColorsText=C-460558
Colors_M_SystemCommands=C-448910
Editorhighlight-lines=C-11974594
Colors_M_Warnings=C-27648
Colors_M_Strings=C-1647756
Editor.NonlocalVariableHighlighting.TextColor=C-5471745
Colors_HTML_HTMLLinks=C-16732805
Colors_M_Comments=C-8355712
Colors_M_Errors=C-65536
Colors_M_UnterminatedStrings=C-5111808
ColorsBackground=C-14211038
Colors_M_Keywords=C-10036753
Color_CmdWinWarnings=C-39936
ColorsMLintAutoFixBackground=C-7973573
Colors_M_Keywords=C-10036753
Editorhighlight-lines=C-13553108
Editorhighlight-caret-row-boolean-color=C-2167080


ColorsUseSystem=Bfalse

重启MATLAB即可。

 

附:

备份pri文件

技术分享图片
#MATLAB Preferences
#Tue Dec 11 10:49:08 CST 2018
ReplaceSearchText19=Sdw
ReplaceSearchText18=S\u00A0
ReplaceSearchText17=ShFig
ReplaceSearchText16=Sii
ReplaceSearchText15=Sdouble
ReplaceSearchText14=Scharslice
ReplaceSearchText13=Swide
ReplaceSearchText12=Sfigure
ReplaceSearchText11=ScharacterImage(:,:,i)
ReplaceSearchText10=S11
ReplaceSearchText=Sxz
EditorNamedBufferOption=I2
DataStatistics.XLocation=I20
LimitSearchToSelection=Bfalse
ReplaceWordWrap=Btrue
ReplaceText20=S
RLWidthB2_VE_2014b_1_1=I130
RLWidthB2_VE_2014b_1_0=I130
RLWidthB2_WB_2014b_1_1=I130
RLWidthB2_WB_2014b_1_0=I130
CommandWindowClearConfirmation=Btrue
PathBrowserBounds=R509 420 1000 600
RLHiddenB2_VE_2014b_1=I8184
RLPrevInitB2_VE_2014b_1=Btrue
mlint-configurations-list=SC:\\Users\\pp\\AppData\\Roaming\\MathWorks\\MATLAB\\R2016a\\MLintDefaultSettings.txt
ReplaceText19=S
ReplaceText18=S
ReplaceText17=S
ReplaceText16=S
ReplaceText15=S
ReplaceText14=S
RLHiddenB2_WB_2014b_1=I16376
ReplaceText13=S
ReplaceText12=S
ReplaceText11=S
ReplaceText10=S
ReplaceMatchCase=Btrue
MatlabExitConfirm=Bfalse
DocumentsDetailViewerSize=I302
CommandWindowShowStartupMessage=Bfalse
RLOrderB2_VE_2014b_1=S0:1:
RLPrevInitB2_WB_2014b_1=Btrue
ReplaceWholeWord=Bfalse
ReplaceText9=S
ReplaceSearchText9=Scp
ReplaceText8=S
ReplaceSearchText8=Smatch
ReplaceText7=S
ReplaceSearchText7=S32768
ReplaceText6=S
ReplaceSearchText6=S32767
ReplaceText5=S
RLOrderB2_WB_2014b_1=S0:1:
DataStatistics.YLocation=I40
ReplaceSearchText5=Sr2br_r2dit_trig_impl
ReplaceText4=S
ReplaceText3=S
ReplaceSearchText4=SemxEnsureCapacity
ReplaceText2=Stempbw
ReplaceSearchText3=SB
ReplaceSearchText2=S\u00A0\u00A0
DocumentsDetailViewerRatio=J4633542436565071403
DocumentsDetailViewerCollapsed=Bfalse
ReplaceText=S
EditorMRU8=SD:\\Program Files\\MATLAB\\R2016a\\bin\\test\\psdNew.m
EditorMRU7=SD:\\Program Files\\MATLAB\\R2016a\\bin\\test\\test.m
EditorMRU6=SD:\\Program Files\\MATLAB\\R2016a\\bin\\test\\testbiye\\analysisSingal\\\u56FE\u4F20\u4FE1\u53F7\u8BC6\u522B\u65B9\u6848\\wifi_yk_tc3.m
EditorMRU5=SD:\\Program Files\\MATLAB\\R2016a\\bin\\test\\fft32.m
EditorMRU4=SD:\\Program Files\\MATLAB\\R2016a\\bin\\test\\testData.m
EditorMRU3=SD:\\Program Files\\MATLAB\\R2016a\\bin\\test\\testbiye\\analysisSingal\\\u53C2\u6570\u8BBE\u7F6E.txt
EditorMRU2=SD:\\Program Files\\MATLAB\\R2016a\\bin\\test\\testbiye\\analysisSingal\\\u56FE\u4F20\u4FE1\u53F7\u8BC6\u522B\u65B9\u6848\\\u4EFF\u771F\\fangan1.m
EditorMRU1=SD:\\Program Files\\MATLAB\\R2016a\\bin\\test\\testbiye\\analysisSingal\\\u56FE\u4F20\u4FE1\u53F7\u8BC6\u522B\u65B9\u6848\\\u4EFF\u771F\\fangan3.m
RLPrevInitB2_null=Btrue
ReplaceSearchText20=Simagebw
View Code

 

Matlab修改背景颜色

标签:statistic   html_   ensure   ssi   hub   case   背景   option   data   

原文地址:https://www.cnblogs.com/shuqingstudy/p/10101159.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!