How can I change where offline documentation is installed?

17 visualizzazioni (ultimi 30 giorni)

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 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');"

Più risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by