Factory settings object
A FactorySetting
object represents an individual setting
within the factory settings tree.
To create a factory setting, first, create the FactoryGroup
root
object using the matlab.settings.createToolboxGroup
function. For
example:
myToolboxSettings = matlab.settings.FactoryGroup.createToolboxGroup('mytoolbox','Hidden',false);
Then, create FactorySetting
objects within the
FactoryGroup
root object using the addSetting
function. For
example:
myFactorySetting = addSetting(myToolboxSettings,'MySetting','Hidden',false,'FactoryValue',10);