主要内容

matlab.editorSettings

编辑设置,包括语言、备份和显示设置

您可以自定义编辑器的外观和行为matlab.editor设置。访问matlab.editor设置使用根SettingsGroup返回的对象设置函数。例如,设置临时值最大列宽的评论80年

s =设置;s.matlab.editor.language.matlab.comments.MaxWidth.TemporaryValue = 80

关于设置的更多信息,请参阅访问和修改设置

matlab.editor

使用MATLAB编辑器,指定为10

设置为1如果你想让MATLAB桌面使用MATLAB编辑器当你编辑一个文件。

该设置只适用于纯文本文件等文件。m. txt扩展。

例子:s.matlab.editor.UseMATLABEditor。TemporaryValue = 0

其他编辑器名称,指定为一个特征向量。

如果UseMATLABEditor被设置为0,指定您想要使用编辑器应用程序的完整路径,如Emacs或vi。

例子:s.matlab.editor.OtherEditor。TemporaryValue = c: \ \ Emacs.exe应用的

最近的文件显示的数量开放菜单,指定为一个正整数。

例子:s.matlab.editor.RecentFileListSize。TemporaryValue = 5

重新启动文件,指定为10

设置为1如果你想编辑器和它包含的文件在你最后的MATLAB会话时重新启动MATLAB。

例子:s.matlab.editor.AddLineTerminationOnsave。TemporaryValue = 0

打开一个文件在一个断点,指定为10

设置为1打开一个运行的程序文件当MATLAB遇到断点的文件。

例子:s.matlab.editor.OpenFileAtBreakpoint。TemporaryValue = 0

保存文件上单击,指定为10

设置为1如果你想要编辑时自动将更改保存到一个文件在编辑器中单击编辑。变化的自动保存后点击编辑器,您必须已经保存文件至少一次。

例子:s.matlab.editor.SaveFilesOnClickAway。TemporaryValue = 0

重新加载文件时改变,指定为10

设置为1如果你想编辑器自动重新加载文件的新版本,你打开并编辑了MATLAB之外。MATLAB只重新加载文件如果不包含未保存的更改。

例子:s.matlab.editor.ReloadFilesOnChange。TemporaryValue = 0

添加一个新的空行保存,指定为10

设置为1MATLAB添加一个新的空行(有时称为< CR >)的文件自动如果文件中的最后一行没有空的。

该设置只适用于纯文本文件等文件。m. txt扩展。

例子:s.matlab.editor.AddLineTerminationOnSave。TemporaryValue = 0

只有进入用户定义函数和脚本在现场调试时编辑器中,指定为10

设置为1只有进入用户定义函数和脚本在现场调试时编辑器。设置为0进入MathWorks®功能。

例子:s.matlab.editor.OnlyStepInToUserFunctions。TemporaryValue = 0

使动画在现场编辑器中,指定为10

设置为1启用实时编辑和显示中的for循环动画绘制数据随时间的变化。

例子:s.matlab.editor.AllowFigureAnimation。TemporaryValue = 0

matlab.editor.displaysettings

突出当前行,指定为10

设置为1强调当前行。当前行是与光标(也称为插入符号)。这个设置不适用于现场编辑器。

例子:s.matlab.editor.displaysettings.HighlightCurrentLine。TemporaryValue = 0

当前行颜色,指定为一个RGB值与值的范围[0255]。当前行是与光标(也称为插入符号)。

HighlightCurrentLine必须设置为1当前行颜色的变化。

例子:s.matlab.editor.displaysettings.HighlightCurrentLineColor。TemporaryValue = (222 230 200)

显示行号,指定为10

设置为1行号显示在编辑器窗口的左边缘。

例子:s.matlab.editor.displaysettings.ShowLineNumbers。TemporaryValue = 0

支持数据提示编辑时,指定为10

设置为1显示数据提示当你编辑一个MATLAB代码文件。(数据提示总是在调试模式下启用)。

这个设置不适用于现场编辑器。

例子:s.matlab.editor.displaysettings.DataTipsInEditMode。TemporaryValue = 0

显示打开作为生活脚本横幅,指定为10

设置为1显示打开作为生活脚本顶部横幅的文档编辑器。

例子:s.matlab.editor.displaysettings.ShowOpenAsLiveScriptBanner。TemporaryValue = 0

显示欢迎来到现场编辑横幅,指定为10

设置为1显示欢迎来到现场编辑器的顶部横幅生活中的文档编辑器。

例子:s.matlab.editor.displaysettings.ShowWelcomeToLiveEditorBanner。TemporaryValue = 0

matlab.editor.displaysettings.linelimit

显示行限制,指定为10

设置为1显示一条垂直线在编辑器中指定的列来表示右边文本限制。LineColumn指定的位置线线宽指定线的宽度。

例子:s.matlab.editor.displaysettings.linelimit.ShowLine。TemporaryValue = 0

线的位置限制,指定为一个正整数。指定位置的列号。

例子:s.matlab.editor.displaysettings.linelimit.LineColumn。TemporaryValue = 80

线的宽度限制,指定为一个正整数。

s.matlab.editor.displaysettings.linelimit.LineWidth。TemporaryValue = 2

线的颜色限制,指定为一个RGB值与值范围[0255]。

s.matlab.editor.displaysettings.linelimit.LineColor。TemporaryValue = (173 235 255)

matlab.editor.tab

标签大小(当你按下空格插入的数量选项卡键),指定为一个正整数。

当你改变TabSize,它改变了标签的大小对既有线该文件,除非你还InsertSpaces1

例子:s.matlab.editor.tab.TabSize。TemporaryValue = 5

智能缩进,缩进大小指定为一个正整数。关于智能缩进的更多信息,请参阅编辑和格式化代码

例子:s.matlab.editor.tab.IndentSize。TemporaryValue = 5

当你按下插入空格选项卡键,指定为一个10

设置为1插入一系列空间,当你按下选项卡关键。否则,一个标签作为一个空间的长度等于TabSize

例子:s.matlab.editor.tab.InsertSpaces。TemporaryValue = 0

使用Emacs缩进风格,指定为10

设置为1使用缩进风格类似于Emacs编辑器使用的风格。

例子:s.matlab.editor.tab.IndentSize。TemporaryValue = 5

matlab.editor.language.matlab

支持语法高亮,指定为10

设置为1有编辑器使用不同的颜色不同的语言结构。然后,调整颜色你想用每种语言元素。有关更多信息,请参见语法高亮显示。禁用不支持语法高亮显示的编辑器生活。万博1manbetx

例子:s.matlab.editor.language.matlab.EnableSyntaxHighlighting。TemporaryValue = 0

使重命名变量和函数,指定为10

设置为1MATLAB提示您重命名所有实例的函数或变量在文件当你重命名一个实例。

例子:s.matlab.editor.language.matlab.EnableVariableAndFunctionRenaming。TemporaryValue = 0

打字时应用智能缩进,指定为SmartIndentNoIndent

指定SmartIndent自动:

  • 缩进身体内循环的循环语句的开始和结束。

  • 使后续行与行你使用制表符或空格缩进。

  • 缩进指定的功能FunctionIndentingFormat设置。

例子:s.matlab.editor.language.matlab.SmartIndentWhileTyping。TemporaryValue = ' NoIndent '

缩进格式,函数指定为这些值之一:

  • ClassicFunctionIndent——使函数代码与函数声明。

  • MixedFunctionIndent缩进代码在一个嵌套的函数。

  • AllFunctionIndent——缩进两个主要函数代码和嵌套函数。

例子:s.matlab.editor.language.matlab.FunctionIndentingFormat。TemporaryValue = ' ClassicFunctionIndent '

matlab.editor.language.matlab.comments

最大数量的字符在一个注释行,指定为一个正整数。

指定FromCommentStart选择你想要的位置计算开始。

例子:s.matlab.editor.language.matlab.comments.MaxWidth.TemporaryValue = 80

从评论开始数最大宽度,指定为10

设置为1计算宽度从一开始的评论。这是有用的评论是缩进时,和你想要的每一块的评论有相同的缩进和宽度。

设置为0计算宽度从一行的开始。的绝对宽度时这是有用的评论是很重要的。例如,设置最大宽度为75列和设置FromCommentStart0使代码适合打印页面时使用的默认字体编辑器。

例子:s.matlab.editor.language.matlab.comments.FromCommentStart.TemporaryValue = 0

自动包装的评论,指定为10

设置为1自动包装后的评论MaxWidth当在编辑器中键入注释文档列。

例子:s.matlab.editor.language.matlab.comments.WrapAutomatically.TemporaryValue = 0

matlab.editor.codefolding

支持代码折叠,指定为10

设置为1使代码折叠。

例子:s.matlab.editor.codefolding.EnableCodeFolding。TemporaryValue = 0

褶皱参数块,指定为10

设置为1为参数块支持代码折叠。EnableCodeFolding必须设置为1。否则,代码折叠参数街区是禁用的。

只支持折叠参数块万博1manbetxMATLAB在线™

例子:s.matlab.editor.codefolding.FoldArgumentsBlocks。TemporaryValue = 0

最初褶皱参数块,指定为10

设置为1褶皱参数块第一次打开一个MATLAB文件。

只支持折叠参数块万博1manbetxMATLAB在线

例子:s.matlab.editor.codefolding.InitiallyFoldArgumentsBlocks。TemporaryValue = 1

褶皱的评论,指定为10

设置为1使代码折叠的评论。EnableCodeFolding必须设置为1。否则,代码折叠的评论是禁用的。

例子:s.matlab.editor.codefolding.FoldComments。TemporaryValue = 0

最初褶皱评论,指定为10

设置为1折叠的评论,你第一次打开一个MATLAB文件。

例子:s.matlab.editor.codefolding.InitiallyFoldComments。TemporaryValue = 1

折叠块评论,指定为10

设置为1使代码折叠块注释。EnableCodeFolding必须设置为1。否则,代码折叠块评论是禁用的。

例子:s.matlab.editor.codefolding.FoldBlockComments。TemporaryValue = 0

最初折块的评论,指定为10

设置为1折叠块评论第一次打开一个MATLAB文件。

例子:s.matlab.editor.codefolding.InitiallyFoldBlockComments。TemporaryValue = 1

褶皱类代码,指定为10

设置为1使代码折叠类代码。EnableCodeFolding必须设置为1。否则,代码折叠类代码是禁用的。

例子:s.matlab.editor.codefolding.FoldClassCode。TemporaryValue = 0

最初褶皱类代码,指定为10

设置为1折叠类代码第一次打开一个MATLAB文件。

例子:s.matlab.editor.codefolding.InitiallyFoldClassCode。TemporaryValue = 1

褶皱类枚举街区,指定为10

设置为1使代码折叠类枚举街区。EnableCodeFolding必须设置为1。否则,代码折叠类枚举街区是禁用的。

例子:s.matlab.editor.codefolding.FoldClassEnumerationBlocks。TemporaryValue = 0

最初褶皱类枚举街区,指定为10

设置为1折叠类枚举块第一次打开一个MATLAB文件。

例子:s.matlab.editor.codefolding.InitiallyFoldClassEnumerationBlocks。TemporaryValue = 1

褶皱类事件块,指定为10

设置为1使代码折叠类事件块。EnableCodeFolding必须设置为1。否则,代码折叠类事件块是禁用的。

例子:s.matlab.editor.codefolding.FoldClassEventBlocks。TemporaryValue = 0

最初褶皱类事件块,指定为10

设置为1折叠类事件块第一次打开一个MATLAB文件。

例子:s.matlab.editor.codefolding.InitiallyFoldClassEventBlocks。TemporaryValue = 1

褶皱类方法,指定为10

设置为1使代码折叠类方法街区。EnableCodeFolding必须设置为1。否则,代码折叠类方法街区是禁用的。

例子:s.matlab.editor.codefolding.FoldClassMethodBlocks。TemporaryValue = 0

最初褶皱类方法街区,指定为10

设置为1折叠类方法块第一次打开一个MATLAB文件。

例子:s.matlab.editor.codefolding.InitiallyFoldClassMethodBlocks。TemporaryValue = 1

褶皱类属性块,指定为10

设置为1使代码折叠类属性的块。EnableCodeFolding必须设置为1。否则,代码折叠类属性街区是禁用的。

例子:s.matlab.editor.codefolding.FoldClassPropertiesBlocks。TemporaryValue = 0

最初褶皱类属性块,指定为10

设置为1折叠类属性块第一次打开一个MATLAB文件。

例子:s.matlab.editor.codefolding.InitiallyFoldClassPropertiesBlocks。TemporaryValue = 1

褶皱parfor块,指定为10

设置为1使代码折叠parfor块。EnableCodeFolding必须设置为1。否则,代码折叠parfor块是禁用的。

例子:s.matlab.editor.codefolding.FoldForAndParforBlocks。TemporaryValue = 0

最初的褶皱parfor块,指定为10

设置为1折叠parfor块,你第一次打开一个MATLAB文件。

例子:s.matlab.editor.codefolding.InitiallyFoldForAndParforBlocks。TemporaryValue = 1

折叠功能代码,指定为10

设置为1使代码折叠的功能代码。EnableCodeFolding必须设置为1。否则,代码折叠功能代码是禁用的。

例子:s.matlab.editor.codefolding.FoldFunctionCode。TemporaryValue = 0

最初折叠功能代码,指定为10

设置为1折叠功能代码第一次打开一个MATLAB文件。

例子:s.matlab.editor.codefolding.InitiallyFoldFunctionCode。TemporaryValue = 1

褶皱如果/其他的块,指定为10

设置为1使代码折叠如果/其他的块。EnableCodeFolding必须设置为1。否则,代码折叠如果/其他的块是禁用的。

例子:s.matlab.editor.codefolding.FoldIfElseBlocks。TemporaryValue = 0

最初的褶皱如果/其他的块,指定为10

设置为1折叠如果/其他的块,你第一次打开一个MATLAB文件。

例子:s.matlab.editor.codefolding.InitiallyFoldIfElseBlocks。TemporaryValue = 1

折叠部分,指定为10

设置为1来支持代码折叠的部分。EnableCodeFolding必须设置为1。否则,代码折叠的部分是禁用的。

例子:s.matlab.editor.codefolding.FoldSections。TemporaryValue = 0

最初褶皱部分,指定为10

设置为1折叠部分第一次打开一个MATLAB文件。

例子:s.matlab.editor.codefolding.InitiallyFoldSections。TemporaryValue = 1

褶皱spmd块,指定为10

设置为1使代码折叠spmd(单个项目,多个数据)。EnableCodeFolding必须设置为1。否则,代码折叠spmd块是禁用的。

例子:s.matlab.editor.codefolding.FoldSpmdBlocks。TemporaryValue = 0

最初的褶皱spmd块,指定为10

设置为1折叠spmd(单个项目,多个数据)块第一次打开一个MATLAB文件。

例子:s.matlab.editor.codefolding.InitiallyFoldSpmdBlocks。TemporaryValue = 1

褶皱开关/情况下块,指定为10

设置为1使代码折叠开关/情况下块。EnableCodeFolding必须设置为1。否则,代码折叠开关/情况下块是禁用的。

例子:s.matlab.editor.codefolding.FoldSwitchCaseBlocks。TemporaryValue = 0

最初的褶皱开关/情况下块,指定为10

设置为1折叠开关/情况下块,你第一次打开一个MATLAB文件。

例子:s.matlab.editor.codefolding.InitiallyFoldSwitchCaseBlocks。TemporaryValue = 1

褶皱试一试/块,指定为10

设置为1使代码折叠试一试/块。EnableCodeFolding必须设置为1。否则,代码折叠试一试/块是禁用的。

例子:s.matlab.editor.codefolding.FoldTryCatchBlocks。TemporaryValue = 0

最初的褶皱试一试/块,指定为10

设置为1折叠试一试/块,你第一次打开一个MATLAB文件。

例子:s.matlab.editor.codefolding.InitiallyFoldTryCatchBlocks。TemporaryValue = 1

褶皱块,指定为10

设置为1使代码折叠块。EnableCodeFolding必须设置为1。否则,代码折叠块是禁用的。

例子:s.matlab.editor.codefolding.FoldWhileBlocks。TemporaryValue = 0

最初的褶皱块,指定为10

设置为1折叠块,你第一次打开一个MATLAB文件。

例子:s.matlab.editor.codefolding.InitiallyFoldWhileBlocks。TemporaryValue = 1

matlab.editor.backup

使文件备份,指定为10

设置为1自动保存当前正在编辑的文件的副本。

例子:s.matlab.editor.backup.EnableFileBackup。TemporaryValue = 0

多长时间来创建备份文件的编辑,在几分钟内指定为一个正整数。

例子:s.matlab.editor.backup.Frequency。TemporaryValue = 6

创建备份的无标题的文件,指定为10

设置为1保存一个副本的一个新的名称,文件Untitled.asv。当有多个无标题的文件,保存到每个额外的文件无标题的n.asv(n是一个整数值)。

例子:s.matlab.editor.backup.SaveUntitled。TemporaryValue = 0

关闭删除备份文件,指定为10

设置为1直接用MATLAB删除备份文件当你关闭源文件的编辑器。

例子:s.matlab.editor.backup.DeleteOnClose。TemporaryValue = 0

替换文件扩展名的备份文件,指定为10

设置为1替换原来的文件扩展名与指定的扩展名FileExtensionToReplace。设置为0将原始文件扩展名与指定的扩展名FileExtensionToAppend

例子:s.matlab.editor.backup.ReplaceExtension。TemporaryValue = 0

文件扩展名的备份文件替换原来的文件扩展名,指定为一个特征向量。

例子:s.matlab.editor.backup.FileExtensionToReplace。TemporaryValue = '、'

文件扩展名的备份文件附加到原始文件名称,指定为一个特征向量。

例子:s.matlab.editor.backup.FileExtensionToAppend。TemporaryValue = ' ~ '

备份文件保存到源文件夹,指定为10

设置为1将备份文件存储在相同的文件夹正在编辑的文件。否则,MATLAB在指定的文件夹保存备份文件SaveToFolder

例子:s.matlab.editor.backup.SaveIntoSourceFolder。TemporaryValue = 0

存储所有备份文件的文件夹名称,指定为一个特征向量。

指定文件夹的完整路径,确保你有写权限。

SaveIntoSourceFolder必须设置为0。否则,MATLAB将备份文件存储在相同的文件夹正在编辑的文件。

例子:s.matlab.editor.backup.SaveToFolder。TemporaryValue = C: \备份的

matlab.editor.autoformat

启用自动套用格式,指定为10

设置为1启用自动套用格式的编辑器。一旦启用,特定类型的格式可以单独启用或禁用。

例子:s.matlab.editor.autoformat.EnableAutoFormatting。TemporaryValue = 0

使斜体和粗体格式使用星号,指定为10

设置为1使用星号来启用粗体和斜体格式(*)。

例子:s.matlab.editor.autoformat.AsteriskForItalicAndBold。TemporaryValue = 0

使斜体和粗体格式使用下划线,指定为10

设置为1使粗体和斜体格式使用下划线(_)。

例子:s.matlab.editor.autoformat.UnderscoreForItalicAndBold。TemporaryValue = 0

启用等宽字体格式使用引号或酒吧、指定为10

设置为1启用等宽字体格式使用引号()或酒吧(|)。

例子:s.matlab.editor.autoformat.BacktickAndBarForMonospace。TemporaryValue = 0

启用自动分节符指定为10

设置为1使进入插入分节符% %,* * *,或推荐- - - - - -然后输入

例子:s.matlab.editor.autoformat.SectionBreak。TemporaryValue = 0

启用自动套用格式与标题、分节符指定为10

设置为1与标题输入使插入分节符% %文本然后输入

例子:s.matlab.editor.autoformat.SectionBreakAndHeading。TemporaryValue = 0

启用自动乳胶表达式,指定为10

设置为1使乳胶表达式转化为方程使用的格式美元乳胶美元

例子:s.matlab.editor.autoformat.DollarSignForLatex。TemporaryValue = 0

启用自动套用格式的url指定为10

设置为1使将url自动转换为超链接。

例子:s.matlab.editor.autoformat.URLToHyperlink。TemporaryValue = 0

启用自动套用格式的url使用尖括号指定为10

设置为1使将url转换为超链接使用的格式<URL>

例子:s.matlab.editor.autoformat.AngleBracketsForHyperlink。TemporaryValue = 0

启用自动标记为超链接,指定为10

设置为1使将url转换为标记超链接使用的格式(标签)(URL)

例子:s.matlab.editor.autoformat.LabelURLToHyperlink。TemporaryValue = 0

启用自动商标和版权符号,指定为10

设置为1使插入商标和版权符号(™,℠®,©)使用的格式(TM),(SM),(右),(C)

例子:s.matlab.editor.autoformat.TrademarkCopyrightSymbol。TemporaryValue = 0

使插入标题使用标签,指定为10

设置为1使插入标题使用的格式#文本

例子:s.matlab.editor.autoformat.HashtagForTitle。TemporaryValue = 0

使插入标题使用标签,指定为10

设置为1使插入标题使用格式# #正文标题1,# # #文本为标题2,或# # # #文本标题3。

例子:s.matlab.editor.autoformat.HashtagsForHeading。TemporaryValue = 0

启用自动创建项目符号列表,指定为10

设置为1使创建项目符号列表通过输入*,+,或- - - - - -其次是空间。

例子:s.matlab.editor.displaysettings.AutomaticBulletedList。TemporaryValue = 0

启用自动创建编号列表,指定为10

设置为1使进入创建编号列表1。,2。等等,其次是空间。

例子:s.matlab.editor.displaysettings.AutomaticNumberedList。TemporaryValue = 0

matlab.editor.autocoding

启用自动编码,指定为10

设置为1启用自动编码在现场编辑器和应用程序设计师。一旦启用,选项可以单独启用或禁用。

例子:s.matlab.editor.autocoding.EnableAutoCoding。TemporaryValue = 0

自动完成括号,指定为10

设置为1要启用自动完成的括号。

例子:s.matlab.editor.autocoding.Parentheses。TemporaryValue = 0

自动完成花括号,指定为10

设置为1花括号来启用自动完成。

例子:s.matlab.editor.autocoding.CurlyBraces。TemporaryValue = 0

自动完成方括号,指定为10

设置为1要启用自动完成的方括号。

例子:s.matlab.editor.autocoding.SquareBrackets。TemporaryValue = 0

自动完成单引号,指定为10

设置为1要启用自动完成的单引号。

例子:s.matlab.editor.autocoding.SingleQuotes。TemporaryValue = 0

自动完成双引号,指定为10

设置为1要启用自动完成双引号。

例子:s.matlab.editor.autocoding.DoubleQuotes。TemporaryValue = 0

自动完成评论,指定为10

设置为1要启用自动完成的评论当跨越两行。

例子:s.matlab.editor.autocoding.Comments。TemporaryValue = 0

自动完成特征向量,指定为10

设置为1启用自动完成特征向量时跨越两行。

例子:s.matlab.editor.autocoding.CharacterVectors。TemporaryValue = 0

自动完成字符串,指定为10。设置为1启用自动完成字符串跨越两行。

例子:s.matlab.editor.autocoding.Strings。TemporaryValue = 0

自动完成括号分裂时,指定为10。设置为1要启用自动完成当跨越两行括号。

例子:s.matlab.editor.autocoding.Strings。TemporaryValue = 0

自动完成控制流语句指定为10。设置为1启用自动完成的控制流语句等如果

例子:s.matlab.editor.autocoding.ControlFlows。TemporaryValue = 0

自动完成功能和类定义,指定为10。设置为1要启用自动完成函数和类的定义。

例子:s.matlab.editor.autocoding.Definitions。TemporaryValue = 0

matlab.editor.export

图的格式导出从生活编辑器时,指定为“png”“jpeg”。的价值FigureFormat当出口到所有使用文档类型除了乳胶。乳胶文档的值matlab.editor.export.latex.FigureFormat而不是使用。与指定的图格式导出,导出之前运行过脚本。

例子:s.matlab.editor.export.FigureFormat。TemporaryValue = ' jpeg '

改变个体的格式导出数据导出文档类型,为文档类型的指定值FigureFormat设置。例如,下面的代码指定了JPEG图格式导出PDF文档在编辑器现场时,和所有其他的PNG时图格式导出文档类型:

s.matlab.editor.export.FigureFormat。TemporaryValue = ' png 's.matlab.editor.export.pdf.FigureFormat。TemporaryValue = ' jpeg '

回到使用的积极价值matlab.editor.export.FigureFormat对所有文档类型设置,明确临时和个人价值观对个人出口文档类型设置使用clearTemporaryValueclearPersonalValue功能。例如:

clearTemporaryValue (s.matlab.editor.export.pdf.FigureFormat) clearPersonalValue (s.matlab.editor.export.pdf.FigureFormat)

图解决出口从生活编辑器时,指定在DPI 36和2880之间的正整数。与指定的图分辨率出口,出口之前运行过脚本。

例子:s.matlab.editor.export.FigureResolution。TemporaryValue = 800

改变解决个别出口导出数据类型,为文档类型的指定值FigureResolution设置。例如,下面的代码指定了一个图导出为PDF文档时800 DPI的分辨率在生活编辑器和一个图分辨率为1000 DPI当出口到其他文档类型:

s.matlab.editor.export.FigureResolution。TemporaryValue = 1000s.matlab.editor.export.pdf.FigureResolution。TemporaryValue = 800

回到使用的积极价值matlab.editor.export.FigureResolution设置文档类型,明确临时和个人价值的文档类型设置使用clearTemporaryValueclearPersonalValue功能。例如:

clearTemporaryValue (s.matlab.editor.export.pdf.FigureResolution) clearPersonalValue (s.matlab.editor.export.pdf.FigureResolution)

matlab.editor.export.pagesetup

纸张大小的文档导出从生活编辑器时,指定为一个标准的纸张类型值的表。

价值

纸张大小(宽度x高度)

“信”

我们8.5 11(默认)

“法律”

8.5 14

“小报”

11 x17在

“A2”

42 - - 59.4厘米

“A3”

29.7 - 42厘米

“A4”

21 - - 29.7厘米(默认在欧洲和亚洲)

的A5

14.8 - 21厘米

例子:s.matlab.editor.export.pagesetup.PaperSize。TemporaryValue =“法律”

改变个别出口文档类型,纸张大小为文档类型的指定值PaperSize设置。例如,下面的代码指定合法的纸张大小输出PDF文档在编辑器现场时,和A4纸大小当出口到其他文档类型:

s.matlab.editor.export.pagesetup.PaperSize。TemporaryValue = s.matlab.editor.export.pagesetup.pdf.PaperSize A4。TemporaryValue =“法律”

回到使用的积极价值matlab.editor.export.pagesetup.PaperSize设置文档类型,明确临时和个人价值的文档类型设置使用clearTemporaryValueclearPersonalValue功能。例如:

clearTemporaryValue (s.matlab.editor.export.pagesetup.pdf.PaperSize) clearPersonalValue (s.matlab.editor.export.pagesetup.pdf.PaperSize)

文档的页面方向出口从生活编辑器时,指定为“画像”“景观”

例子:s.matlab.editor.export.pagesetup.Orientation。TemporaryValue =“风景”

改变一个人的页面方向出口文档类型,为文档类型的指定值取向设置。例如,下面的代码指定了一个肖像页面方向导出PDF文档在编辑器现场时,和一个景观页面方向当出口到其他文档类型:

s.matlab.editor.export.pagesetup.Orientation。TemporaryValue =“风景”s.matlab.editor.export.pagesetup.pdf.Orientation。TemporaryValue = '肖像'

回到使用的积极价值matlab.editor.export.pagesetup.Orientation设置文档类型,明确临时和个人价值的文档类型设置使用clearTemporaryValueclearPersonalValue功能。例如:

clearTemporaryValue (s.matlab.editor.export.pagesetup.pdf.Orientation) clearPersonalValue (s.matlab.editor.export.pagesetup.pdf.Orientation)

文档的利润出口从生活编辑器时,指定为一个1-by-4向量幅度值的格式(正确的]。每个边缘值中指定点为0到255之间的一个正整数。值72分相当于1英寸或2.54厘米。的价值利润率当出口到所有使用文档类型除了乳胶。乳胶文档的值matlab.editor.export.pagesetup.latex.Margins而不是使用。

例子:s.matlab.editor.export.pagesetup.Margins。TemporaryValue = (25 72 72 25)

改变个别出口文档类型、文档的利润率为文档类型的指定值利润率设置。例如,下面的代码指定了25点利润当出口在现场编辑PDF文档,和90点利润当出口到其他文档类型:

s.matlab.editor.export.pagesetup.Margins。TemporaryValue = [90 90 90 90] s.matlab.editor.export.pagesetup.pdf.Margins。TemporaryValue = [25] 25 25 25

回到使用的积极价值matlab.editor.export.pagesetup.Margins设置文档类型,明确临时和个人价值的文档类型设置使用clearTemporaryValueclearPersonalValue功能。例如:

clearTemporaryValue (s.matlab.editor.export.pagesetup.pdf.Margins) clearPersonalValue (s.matlab.editor.export.pagesetup.pdf.Margins)

matlab.editor.export.pdf

图的格式导出PDF文档从生活编辑器时,指定为“png”,“jpeg”,bmp的,svg的,或“饮”

默认情况下,这个设置是设置的值和现场编辑器使用的活跃值matlab.editor.export.FigureFormat当导出到PDF文档。该设置指定一个值改变时图格式导出PDF文档。与指定的图格式导出,导出之前运行过脚本。

例子:s.matlab.editor.export.pdf.FigureFormat。TemporaryValue = ' jpeg '

回到使用的积极价值matlab.editor.export.FigureFormat设置PDF文档,明确该设置使用的临时和个人价值clearTemporaryValueclearPersonalValue功能。例如:

clearTemporaryValue (s.matlab.editor.export.pdf.FigureFormat) clearPersonalValue (s.matlab.editor.export.pdf.FigureFormat)

图的分辨率输出PDF文档从生活编辑器时,指定在DPI 36和2880之间的正整数。

默认情况下,这个设置是设置的值和现场编辑器使用的活跃值matlab.editor.export.FigureResolution当导出到PDF文档。该设置指定一个值改变时数据的分辨率输出PDF文档。与指定的图分辨率出口,出口之前运行过脚本。

例子:s.matlab.editor.export.pdf.FigureResolution。TemporaryValue = 800

回到使用的积极价值matlab.editor.export.FigureResolution设置PDF文档,明确该设置使用的临时和个人价值clearTemporaryValueclearPersonalValue功能。例如:

clearTemporaryValue (s.matlab.editor.export.pdf.FigureResolution) clearPersonalValue (s.matlab.editor.export.pdf.FigureResolution)

matlab.editor.export.pagesetup.pdf

纸张大小的文档导出PDF从生活编辑器时,指定为一个标准的纸张类型值的表。

价值

纸张大小(宽度x高度)

“信”

8.5 11

“法律”

8.5 14

“小报”

11 x17在

“A2”

42 - - 59.4厘米

“A3”

29.7 - 42厘米

“A4”

21 - - 29.7厘米

的A5

14.8 - 21厘米

默认情况下,这个设置是设置的值和现场编辑器使用的活跃值matlab.editor.export.pagesetup.PaperSize当导出到PDF文档。该设置指定一个值来改变文档的纸张大小仅当导出到PDF文档。

例子:s.matlab.editor.export.pagesetup.pdf.PaperSize。TemporaryValue =“法律”

回到使用的积极价值matlab.editor.export.pagesetup.PaperSize设置PDF文档,明确该设置使用的临时和个人价值clearTemporaryValueclearPersonalValue功能。例如:

clearTemporaryValue (s.matlab.editor.export.pagesetup.pdf.PaperSize) clearPersonalValue (s.matlab.editor.export.pagesetup.pdf.PaperSize)

页面方向的文档导出PDF从生活编辑器时,指定为“画像”“景观”

默认情况下,这个设置是设置的值和现场编辑器使用的活跃值matlab.editor.export.pagesetup.Orientation当导出到PDF文档。该设置指定一个值来改变文档的页面方向导出为PDF文档时。

例子:s.matlab.editor.export.pagesetup.pdf.Orientation。TemporaryValue =“风景”

回到使用的积极价值matlab.editor.export.pagesetup.Orientation设置PDF文档,明确该设置使用的临时和个人价值clearTemporaryValueclearPersonalValue功能。例如:

clearTemporaryValue (s.matlab.editor.export.pagesetup.pdf.Orientation) clearPersonalValue (s.matlab.editor.export.pagesetup.pdf.Orientation)

文档的利润率从生活编辑器导出为PDF时,指定为1-by-4矢量格式的边界值(正确的]。每个边缘值中指定点为0到255之间的一个正整数。值72分相当于1英寸或2.54厘米。

默认情况下,这个设置是设置的值和现场编辑器使用的活跃值matlab.editor.export.pagesetup.Margins当导出到PDF文档。该设置指定一个值来改变文件导出为PDF文档时的边缘。

例子:s.matlab.editor.export.pagesetup.pdf.Margins。TemporaryValue =(20 28日28日20)

回到使用的积极价值matlab.editor.export.pagesetup.Margins设置PDF文档,明确该设置使用的临时和个人价值clearTemporaryValueclearPersonalValue功能。例如:

clearTemporaryValue (s.matlab.editor.export.pagesetup.pdf.Margins) clearPersonalValue (s.matlab.editor.export.pagesetup.pdf.Margins)

matlab.editor.export.latex

图的格式导出乳胶现场编辑的文件时,指定为“每股收益”,“png”,“jpeg”,或“pdf”。默认情况下,该设置的值“每股收益”“png”脚本运行,取决于住在出口之前。

该设置指定一个值改变时图格式导出乳胶文档。现场编辑时总是使用这个设置值的图格式乳胶而不是出口matlab.editor.export.FigureFormat设置。与指定的图格式导出,导出之前运行过脚本。

例子:s.matlab.editor.export.latex.FigureFormat。TemporaryValue = ' png '

图分辨率从现场编辑器,当出口乳胶文档中指定DPI 36和2880之间的一个正整数。

默认情况下,这个设置是设置的值和现场编辑器使用的活跃值matlab.editor.export.FigureResolution设置当出口乳胶文档。该设置指定一个值改变时数据的分辨率仅出口乳胶文档。与指定的图分辨率出口,出口之前运行过脚本。

例子:s.matlab.editor.export.latex.FigureResolution。TemporaryValue = 800

回到使用的积极价值matlab.editor.export.FigureResolution设置乳胶文件,清除该设置使用的临时和个人价值clearTemporaryValueclearPersonalValue功能。例如:

clearTemporaryValue (s.matlab.editor.export.latex.FigureResolution) clearPersonalValue (s.matlab.editor.export.latex.FigureResolution)

matlab.editor.export.pagesetup.latex

纸张大小的文档导出乳胶从生活编辑器时,指定为一个标准的纸张类型值的表。

价值

纸张大小(宽度x高度)

“信”

8.5 11

“法律”

8.5 14

“小报”

11 x17在

“A2”

42 - - 59.4厘米

“A3”

29.7 - 42厘米

“A4”

21 - - 29.7厘米

的A5

14.8 - 21厘米

默认情况下,这个设置是设置的值和现场编辑器使用的活跃值matlab.editor.export.pagesetup.PaperSize设置当出口乳胶文档。该设置指定一个值来改变文档的纸张大小只出口到乳胶文档时。

例子:s.matlab.editor.export.pagesetup.latex.PaperSize。TemporaryValue =“法律”

回到使用的积极价值matlab.editor.export.pagesetup.PaperSize设置乳胶文件,清除该设置使用的临时和个人价值clearTemporaryValueclearPersonalValue功能。例如:

clearTemporaryValue (s.matlab.editor.export.pagesetup.latex.PaperSize) clearPersonalValue (s.matlab.editor.export.pagesetup.latex.PaperSize)

页面方向的文档导出乳胶从生活编辑器时,指定为“画像”“景观”

默认情况下,这个设置是设置的值和现场编辑器使用的活跃值matlab.editor.export.pagesetup.Orientation设置当出口乳胶文档。该设置指定一个值来改变文档的页面方向出口乳胶文档时。

例子:s.matlab.editor.export.pagesetup.latex.Orientation。TemporaryValue =“风景”

回到使用的积极价值matlab.editor.export.pagesetup.Orientation设置乳胶文件,清除该设置使用的临时和个人价值clearTemporaryValueclearPersonalValue功能。例如:

clearTemporaryValue (s.matlab.editor.export.pagesetup.latex.Orientation) clearPersonalValue (s.matlab.editor.export.pagesetup.latex.Orientation)

文档的利润出口乳胶从生活编辑器时,指定为一个1-by-4向量幅度值的格式(正确的]。每个边缘值中指定点为0到255之间的一个正整数。值72分相当于1英寸或2.54厘米。

该设置指定一个值改变文档的边缘只出口到乳胶文档时。现场编辑时总是使用这个设置的保证金价值乳胶而不是出口matlab.editor.export.pagesetup.Margins设置。

例子:s.matlab.editor.export.pagesetup.latex.Margins。TemporaryValue = (25 72 72 25)

matlab.editor.export.pagesetup.docx

当出口纸张大小的文档微软®从现场编辑,指定为一个标准的纸张类型值表。

价值

纸张大小(宽度x高度)

“信”

8.5 11

“法律”

8.5 14

“小报”

11 x17在

“A2”

42 - - 59.4厘米

“A3”

29.7 - 42厘米

“A4”

21 - - 29.7厘米

的A5

14.8 - 21厘米

默认情况下,这个设置是设置的值和现场编辑器使用的活跃值matlab.editor.export.pagesetup.PaperSize设置在出口微软文字处理软件文档。该设置指定一个值来改变文档的纸张大小在出口的时候出现微软文字处理软件文档。

例子:s.matlab.editor.export.pagesetup.docx.PaperSize。TemporaryValue =“法律”

回到使用的积极价值matlab.editor.export.pagesetup.PaperSize设置微软文字处理软件文件,清除该设置使用的临时和个人价值clearTemporaryValueclearPersonalValue功能。例如:

clearTemporaryValue (s.matlab.editor.export.pagesetup.docx.PaperSize) clearPersonalValue (s.matlab.editor.export.pagesetup.docx.PaperSize)

当出口文档的页面方向微软文字处理软件从现场编辑,指定为“画像”“景观”

默认情况下,这个设置是设置的值和现场编辑器使用的活跃值matlab.editor.export.pagesetup.Orientation设置在出口微软文字处理软件文档。该设置指定一个值来改变文档的页面方向出口的时候出现微软文字处理软件文档。

例子:s.matlab.editor.export.pagesetup.docx.Orientation。TemporaryValue =“风景”

回到使用的积极价值matlab.editor.export.pagesetup.Orientation设置微软文字处理软件文件,清除该设置使用的临时和个人价值clearTemporaryValueclearPersonalValue功能。例如:

clearTemporaryValue (s.matlab.editor.export.pagesetup.docx.Orientation) clearPersonalValue (s.matlab.editor.export.pagesetup.docx.Orientation)

当出口文档的利润率微软文字处理软件从生活编辑文件,指定为一个1-by-4向量幅度值的格式(正确的]。每个边缘值中指定点为0到255之间的一个正整数。值72分相当于1英寸或2.54厘米。

默认情况下,这个设置是设置的值和现场编辑器使用的活跃值matlab.editor.export.pagesetup.Margins设置在出口微软文字处理软件文档。该设置指定一个值来改变文档的利润率在出口的时候出现微软文字处理软件文档。

例子:s.matlab.editor.export.pagesetup.docx.Margins。TemporaryValue = (25 72 72 25)

回到使用的积极价值matlab.editor.export.pagesetup.Margins设置微软文字处理软件文件,清除该设置使用的临时和个人价值clearTemporaryValueclearPersonalValue功能。例如:

clearTemporaryValue (s.matlab.editor.export.pagesetup.docx.Margins) clearPersonalValue (s.matlab.editor.export.pagesetup.docx.Margins)

介绍了R2018a