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

66 ビュー (過去 30 日間)
Lockywolf
Lockywolf 2023 年 7 月 20 日
コメント済み: Cris LaPierre 2023 年 7 月 20 日
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 Center および File ExchangeIntroduction 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