步骤:

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

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

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

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

Editor.VariableHighlighting.Color=C-
ColorsText=C-
Colors_M_SystemCommands=C-
Editorhighlight-lines=C-
Colors_M_Warnings=C-
Colors_M_Strings=C-
Editor.NonlocalVariableHighlighting.TextColor=C-
Colors_HTML_HTMLLinks=C-
Colors_M_Comments=C-
Colors_M_Errors=C-
Colors_M_UnterminatedStrings=C-
ColorsBackground=C-
Colors_M_Keywords=C-
Color_CmdWinWarnings=C-
ColorsMLintAutoFixBackground=C-
Colors_M_Keywords=C-
Editorhighlight-lines=C-
Editorhighlight-caret-row-boolean-color=C- ColorsUseSystem=Bfalse

重启MATLAB即可。

附:

备份pri文件

#MATLAB Preferences
#Tue Dec :: CST
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
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::
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::
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

Matlab修改背景颜色的更多相关文章

  1. html根据下拉框选中的值修改背景颜色

    错误的写法 <!doctype html><html><head><meta charset="utf-8"><title&g ...

  2. 小程序开发-iView app的NoticeBar 通告栏修改背景颜色

    NoticeBar 通告栏 这是个比较好用的组件,具体使用方法见 http://inmap.talkingdata.com/wx/index_prod.html#/components/notice- ...

  3. Eclipse修改背景颜色(豆沙绿)

    操作界面默认颜色为白色.对于我们长期使用电脑编程的人来说,白色很刺激我们的眼睛,所以我经常会改变workspace的背景色,使眼睛舒服一些.设置方法如下: 1.打开window->Prefere ...

  4. 23【notepad++】修改背景颜色

    notepad++是一款功能丰富的编辑器,运行在windows平台上的编辑工具. 但它默认设置是白色背景,黑色文字,长时间看很刺眼.那么怎么设定成为暗色背景,亮色文字呢? 点击,设置->语言格式 ...

  5. pycharm -- 导入主题(theme) and 修改背景颜色(护眼色)

    前情提要 众所周知,随着python语言的不断流行,越来越多的程序员开始用python来开发自己的项目以及产品. pycharm作为一款流行的IDE,被越来越多的程序员所接受和使用. 尽管pychar ...

  6. Eclipse修改背景颜色

    windows->peferences->General->Editors->Text EditorAppearance color options:选择Background ...

  7. js和jquery修改背景颜色的区别

    html: <HTML> <head> <meta http-equiv="content-type" content="text/html ...

  8. webstorm 如何修改背景颜色

    http://www.cnblogs.com/zxyun/p/4744744.html 见文章底部有图文说明 15个必须知道的chrome开发者技巧(GIF):http://www.wtoutiao. ...

  9. vim插件修改背景颜色和代码颜色

    ls /usr/share/vim/vim74/colorsblue.vim default.vim desert.vim evening.vim morning.vim pablo.vim READ ...

随机推荐

  1. JavaScript实现弹出层(以layer.open为例)

    首先,引用layer,自行下载. 添加如下两行 <script src=" ../layer/jquery.min.js"></script> <sc ...

  2. Leetcode题库——11.盛最多水的容器

    @author: ZZQ @software: PyCharm @file: maxArea.py @time: 2018/10/11 21:47 说明:给定 n 个非负整数 a1,a2,...,an ...

  3. 作业1.3——Android平台的开发环境的发展演变

    一开始的打算是在eclipse的基础上搭建Android平台,在ADT.SDK上兜兜转转,听过一些前车之鉴后,还是选择了Android studio.因为之前安装过eclipse,就省去了JDK下载和 ...

  4. 团队作业之四则运算GUI展示

    一.项目Coding.net原码仓库地址:https://git.coding.net/caoying/Teamwork.git 队员: 卢琪:2016011986 曹滢:2016012102 二.P ...

  5. 使用Crash工具查看一个TCP listen sock内存布局实例

    利用crash工具,我们可以很方便的查看正在运行内核的一些全局变量的数据结构,如TCP的ehash.bhash哈希桶,全局变量的查看比较简单.Crash工具还允许我们查看调用堆栈内部的局部变量,下面示 ...

  6. .NET 类库研究必备参考 扣丁格鲁

    .NET 类库的强大让我们很轻松的解决常见问题,作为一个好专研的程序员,为了更上一层楼,研究CLR的基础类库实现是快速稳定的捷径. 一般场景下,采用 Reflector可以反射出.NET 的部分实现出 ...

  7. java杂项

    简单介绍==和equals区别==是判断两个变量或实例是不是指向同一个内存空间equals是判断两个变量或实例所指向的内存空间的值是不是相同 final, finally, finalize的区别fi ...

  8. token是干啥子的

    http://www.cnblogs.com/wweichao/p/9325668.html 在上面这篇博客中,我们知道了通过weibo提供的一系列接口,我们可以实现登录,然后也有了token,可以获 ...

  9. DBGridEH序号的自动生成

    序号的自动生成1.定义变量  private         maxno:integer;  public        bmodified:boolean;2.写函数  function max(c ...

  10. (很难啊)如何实时获取DBGrid 中当前单元格输入的内容? [问题点数:100分,结帖人yifawu100]

    如何获取DBGrid 中当前单元格输入的内容? 还没输入完成,我想实时获取 Cell中的内容,以便作其他处理,用什么事件呢? 所以Field的Onchange事件是没用的. DBGrid1.Selec ...