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.reloadFactoryFile
does not reload thesettingsInfo.json
file. 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.mytoolbox
and then callmatlab.settings.reloadFactoryFile
, you must recreatea
to access the updated settings formytoolbox
.
Examples
Input Arguments
Version History
Introduced in R2019b