settings - Access the SettingsGroup root object - MATLAB (original) (raw)
Main Content
Access the SettingsGroup
root object
Syntax
Description
Examples
Get and set the value for the maximum column width for comments in MATLABĀ®.
Get the root SettingsGroup
object and access the value for the maximum column width for comments in MATLAB.
s = settings s.matlab.editor.language.matlab.comments.MaxWidth
ans =
Setting 'matlab.editor.language.matlab.comments.MaxWidth' with properties.
ActiveValue: 75
TemporaryValue: <no value>
PersonalValue: <no value>
InstallationValue: <no value>
FactoryValue: 75
Set the temporary value for the maximum column width for comments in MATLAB. The temporary value is available only for the current MATLAB session and is cleared at the end of the session. For more information about the different types of settings values, see Access and Modify Settings Programmatically.
s.matlab.editor.language.matlab.comments.MaxWidth.TemporaryValue = 80 s.matlab.editor.language.matlab.comments.MaxWidth
ans =
Setting 'matlab.editor.language.matlab.comments.MaxWidth' with properties.
ActiveValue: 80
TemporaryValue: 80
PersonalValue: <no value>
InstallationValue: <no value>
FactoryValue: 75
Extended Capabilities
Version History
Introduced in R2018a