How can I change where offline documentation is installed?

20 vues (au cours des 30 derniers jours)
How can I change where offline documentation is installed?

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by