Effacer les filtres
Effacer les filtres

How to specify a custom offline help file path

7 vues (au cours des 30 derniers jours)
涛
le 10 Juin 2023
Commenté : le 3 Juil 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?

Réponse acceptée

Suraj
Suraj le 22 Juin 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.
  1 commentaire
涛
le 3 Juil 2023
Many thanks for your kind and warm help,Suraj.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by