How can I change where offline documentation is installed?

20 次查看(过去 30 天)

采纳的回答

MathWorks Support Team
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 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by