フィルターのクリア

How to specify a custom offline help file path

7 ビュー (過去 30 日間)
涛
2023 年 6 月 10 日
コメント済み: 2023 年 7 月 3 日
I followed the instructions on the official website to install the document on the offline computer, with --destination to specify an installation location, after downloading, you need to set the root directory of the document in the startup.m file, set to help the installation location of the document, then this startup.m in which folder, or you need to create a new startup.m file, the Where to put it?

採用された回答

Suraj
Suraj 2023 年 6 月 22 日
Greetings,
I understand that you're installing the documentation on an offline computer using the --destination flag. You must point MATLAB to the documentation and you can do so by following the below steps:
1. Open the "startup.m" file that is present in the directory pointed to by userpath environment variable.
edit(fullfile(userpath,'startup.m'))
Note: If you haven't created this file before, you will receive a popup asking if you want to create the file first. Select 'Yes' on the popup to create the file and start editing it.
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.
You may refer to the following documentation links for more information:
Hope this helps.
Regards,
Suraj.
  1 件のコメント
涛
2023 年 7 月 3 日
Many thanks for your kind and warm help,Suraj.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by