Version-specific changes in factory settings tree of toolbox
matlab.settings.SettingsFileUpgrader object represents the
changes in the factory settings tree for a specific version of a toolbox. Create a
SettingsFileUpgrader for each toolbox version that includes a
change to the factory settings tree and record the changes to the tree. Recording
changes ensures that toolbox users upgrading to a new version do not have any backward
incompatibility issues with their toolbox settings.
version— Toolbox version
Toolbox version to create a
object for, specified as a character vector or string.
Version— Toolbox version
Toolbox version of the
specified as a string.
Record changes to the factory settings tree that occurred in two different versions of a toolbox.
Create a settings file upgrader object for version 2 of
upgraders = matlab.settings.SettingsFileUpgrader('Version2');
Record the move of the settings group font from the
mytoolbox.mysettings factory settings group to the
Create a settings file upgrader object for version 3 of
upgraders(2) = matlab.settings.SettingsFileUpgrader('Version3');
Record the rename of the two font settings
FontColor, previously named