How can I tell to the existing Mathworks installation where the installed documentation is?

22 次查看(过去 30 天)
I have installed Matlab 2023a, and later installed Offline Documentation by running
./mpm install-doc --matlabroot=/opt/MATLAB/R2023a --destination=/opt/MATLAB/R2023a_docs
However, matlab does not seem to find that installed that documentation. Is there a way to manually tell it where it is?

回答(1 个)

Cris LaPierre
Cris LaPierre 2023-7-20
Specifically
Step 2. Install Documentation on Target Machine
...
5. If you used the --destination flag to install the documentation somewhere other than the default location, go to Step 3 to modify the startup file.
Step 3. Point MATLAB to Documentation
If you used the --destination flag to install the documentation somewhere other than the default location, follow this procedure to point MATLAB to the documentation.
  1. On the offline computer, open the startup.m file for editing.
  2. In your startup.m file, add this line to set the documentation root to the new documentation location, where newDocInstallFolder is the path to the folder where you installed the documentation:docroot(newDocInstallFolder/help)
  3. Restart MATLAB to complete documentation installation.
After Installation
Access the documentation as you normally would. If MATLAB still tries to open documentation on the web, go to the Home tab, and in the Environment section, click Preferences and select MATLAB > Help. Under Documentation Location, select Installed locally.
  6 个评论
Lockywolf
Lockywolf 2023-7-20
The switch to "local documentation" is, indeed, there, but it resets to "online documentation" automatically after a restart. And if I switch it to "offline documenation", it is saying "not installed".

请先登录,再进行评论。

类别

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

标签

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by