- 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?
22 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Cris LaPierre
2023-7-20
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!