我是靠谱客的博主 懦弱店员,最近开发中收集的这篇文章主要介绍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

 

转载于:https://www.cnblogs.com/shuqingstudy/p/10101159.html

最后

以上就是懦弱店员为你收集整理的Matlab修改背景颜色的全部内容,希望文章能够帮你解决Matlab修改背景颜色所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(34)

评论列表共有 0 条评论

立即
投稿
返回
顶部