How to specify a custom offline help file path

17 Ansichten (letzte 30 Tage)
涛
am 10 Jun. 2023
Kommentiert: am 3 Jul. 2023
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?

Akzeptierte Antwort

Suraj
Suraj am 22 Jun. 2023
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.

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Produkte


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by