addSetting
Add new setting
Description
s = addSetting(
adds a new setting to the specified parent settings group and returns a
parentgroup
,name
)Setting
object containing the new setting. By default, settings
are not hidden, which means that they display in the parent settings group.
s = addSetting(___,
specifies setting properties using one or more name-value pair arguments. For
example, Name,Value
)'PersonalValue',10
adds a new setting with a personal
value of 10
. Specify name-value pairs after all other input
arguments.
Examples
Input Arguments
Name-Value Arguments
Version History
Introduced in R2019b