Set Add-ons path using commands
16 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
I'm interested in setting the Add-ons path using commands rather than going through the MATLAB preferences dialog. Is there a way to do this?
Thanks
Alan
0 comentarios
Respuestas (1)
Henry Giddens
el 30 de Sept. de 2017
6 comentarios
John Harris
el 4 de En. de 2018
One place the add-ons directory is stored, at least on Windows, is a matlab.settings file in the AppData folder. For example, mine is c:\users\username\AppData\Roaming\MathWorks\MATLAB\R2017b\matlab.settings with a key name of "InstallationFolder".
James Richard
el 20 de Mzo. de 2022
Editada: James Richard
el 20 de Mzo. de 2022
So what's the solution to change the add-ons directory directly?
We have this to change the hardware support package directory.
matlabshared.supportpkg.setSupportPackageRoot
But why don't we have something like this?
matlab.internal.setSettingsRoot
Ver también
Categorías
Más información sobre System Commands en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!