필터 지우기
필터 지우기

How can I tell to the existing Mathworks installation where the installed documentation is?

조회 수: 27 (최근 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?

답변 (1개)

Cris LaPierre
Cris LaPierre 2023년 7월 20일
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.
  1. On the offline computer, open the startup.m file for editing.
  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.
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
Lockywolf
Lockywolf 2023년 7월 20일
The switch to "local documentation" is, indeed, there, but it resets to "online documentation" automatically after a restart. And if I switch it to "offline documenation", it is saying "not installed".

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by