zoukankan      html  css  js  c++  java
  • Matlab修改背景颜色

    步骤:

    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=Su00A0
    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=Su00A0u00A0
    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\u56FEu4F20u4FE1u53F7u8BC6u522Bu65B9u6848\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\u53C2u6570u8BBEu7F6E.txt
    EditorMRU2=SD:\Program Files\MATLAB\R2016a\bin\test\testbiye\analysisSingal\u56FEu4F20u4FE1u53F7u8BC6u522Bu65B9u6848\u4EFFu771F\fangan1.m
    EditorMRU1=SD:\Program Files\MATLAB\R2016a\bin\test\testbiye\analysisSingal\u56FEu4F20u4FE1u53F7u8BC6u522Bu65B9u6848\u4EFFu771F\fangan3.m
    RLPrevInitB2_null=Btrue
    ReplaceSearchText20=Simagebw
    View Code
  • 相关阅读:
    重点解说--MVVM指南(课程学习)
    模块划分--MVVM指南(课程学习)
    开发步骤--MVVM指南(课程学习)
    MVVM指南(课程学习)
    centos vi和vim用法
    阿里云centos系统上安装ftp
    thinkphp的ip地址定位
    thinkphp方便分页的page方法
    thinkphp data方法
    thinkphp i方法
  • 原文地址:https://www.cnblogs.com/shuqingstudy/p/10101159.html
Copyright © 2011-2022 走看看