- On the offline computer, open the startup.m file for editing.
- 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)
- Restart MATLAB to complete documentation installation.
How can I tell to the existing Mathworks installation where the installed documentation is?
18 views (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
Cris LaPierre
on 20 Jul 2023
Make sure your follow the instructions on this page. https://www.mathworks.com/help/releases/R2023a/install/ug/install-documentation-on-offline-machines.html
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.
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 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!