matlab.settings.reloadFactoryFile
Load or reload factory settings
Description
matlab.settings.reloadFactoryFile(
loads or reloads the factory settings tree into MATLAB®. Use toolboxName)matlab.settings.reloadFactoryFile to update
the factory settings tree before inspecting it, without having to restart
MATLAB. This function is meant for debugging purposes only and should not be
included in shipping toolbox code.
Note
matlab.settings.reloadFactoryFiledoes not reload thesettingsInfo.jsonfile. You must restart MATLAB after changing the file.You must recreate any variables that reference the specified toolbox after calling
matlab.settings.reloadFactoryFile. For example, if you create the variablea = s.mytoolboxand then callmatlab.settings.reloadFactoryFile, you must recreateato access the updated settings formytoolbox.
Examples
Input Arguments
Version History
Introduced in R2019b