How to specify a custom offline help file path

12 次查看(过去 30 天)
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by