SettingsGroup - Group of settings and subgroup objects - MATLAB (original) (raw)
Main Content
Group of settings and subgroup objects
Description
A SettingsGroup
is an object within the settings hierarchical tree. At the top of the tree is the root SettingsGroup
. EachSettingsGroup
can contain a collection of otherSettingsGroup
and Setting
objects.
Creation
Access the root SettingsGroup
object using the settings function. For example:
Object Functions
Examples
Get and set the value for the maximum column width for comments in MATLABĀ®.
Get the root SettingsGroup
object and view the active value for the maximum column width for comments in MATLAB.
s = settings s.matlab.editor.language.matlab.comments.MaxWidth.ActiveValue
Set the temporary value for the maximum column width for comments in MATLAB.
s.matlab.editor.language.matlab.comments.MaxWidth.TemporaryValue = 80 s.matlab.editor.language.matlab.comments.MaxWidth.ActiveValue
Version History
Introduced in R2018a