How can I change where offline documentation is installed?
20 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 31 Mar 2023
Réponse apportée : MathWorks Support Team
le 31 Mar 2023
How can I change where offline documentation is installed?
Réponse acceptée
MathWorks Support Team
le 31 Mar 2023
The command "docroot" can change where you have it installed. Keep in mind that is variable is only present in your current MATLAB session and will disappear after restarting MATLAB. You can make MATLAB automatically run this command in either a startup.m file, or by using the -r argument with MATLAB. In a startup.m file, you would write "docroot('filepath')". An example would be "docroot('C:\ProgramData\MATLAB\SupportPackages\R2023a\help')". If you were using the -r argument in a Windows shortcut or Windows Terminal, you'd see something like this: "C:\MATLAB\R2023a\bin\matlab.exe -r docroot('C:\ProgramData\MATLAB\SupportPackages\R2023a\help');"
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!