moerjielovecookie

Sawen_Blog

一个普通工科牲的博客网站
x
github
follow
email

Matlab R2024b Installation Local Documentation

Installation Package

File shared via cloud storage: MATLAB R2024b
Link: https://pan.baidu.com/s/1T8-V_guBJhSD-Yze0wEVmQ?pwd=9h5c Extraction code: 9h5c
-- Shared by Baidu Cloud Super Member v2

Navigate to the installation package folder in the mounted image#

cd <mountedDocImage>/bin/<arch>
  • <mountedDocImage> is the root directory of the mounted document ISO or DMG image.
  • <arch> is the operating system architecture folder of the ISO or DMG image, such as win64, glnxa64, maci64, or maca64.

Run the documentation installer using the mpm install-doc command#

To install the documentation to a specified location, use the --destination command and specify the installer file path with the --source command.

.\mpm install-doc --matlabroot=<matlabrootfolder> --source=<docinstallfolder> 
--destination=<destinationfolder>

Configure MATLAB#

  1. In the preferences, set the documentation location under Help to Local.
  2. Create a startup.m file in userpath and use the docroot command to specify the path to the help documentation.

2024after4202410281935483.png

Verify Local Installation#

Verify if the documentation opens locally. At the MATLAB command prompt, enter: doc

In the opened browser page, check the URL address.

  • If the URL points to a local IP address and port number (e.g., http://127.0.0.1:12345), then MATLAB is accessing the locally installed documentation.
  • If the URL points to a web address (e.g., https://www.mathworks.com/help/...), then MATLAB is still accessing the web documentation. Update MATLAB to point to the locally installed documentation as described in Configure MATLAB to Use Installed Documentation.
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.