How do I download and install documentation on offline machines?

How do I download and install documentation on offline machines?

 Accepted Answer

R2023a and later:

For offline access to MATLAB documentation for the latest release, please follow the download and installation instructions contained in the following link:
For offline access to MATLAB documentation for prior releases (starting with R2023a), follow the steps below to access the download and installation instructions:
  1. Visit the MathWorks Documentation Archive.
  2. Select the desired release.
  3. On the right side of the screen, select "Installation Help"
  4. In the center of the screen, select the link "Install Products"
  5. Under the section with the header "Offline Installation", select "Install Documentation on Permanently Offline Computer".
    • (R2023b only) Select "Install Documentation", then "Install MathWorks Products on Offline Computer".
    • (R2023a only) Select "Install Documentation on Offline Machines".
Please note that if you are using Linux, you should not install the documentation as the root user. Otherwise, documentation will only be accessible to the root user.
After installing offline installation, configure MATLAB to use offline documentation by running the command below in the MATLAB Command Window:
>> s=settings, s.matlab.help.DocLocation.PersonalValue='INSTALLED'
Note: If using a version of the MATLAB Package Manager (MPM) that is not included with the documentation ISO, you will need to point the --source flag to the /archives folder of the mounted ISO, rather than just the root of it. This should not be necessary if using the MPM that is packaged with the ISO.

R2022b and earlier:

For MATLAB installations performed using the MathWorks Product Installer, the offline documentation is already included with the installation for R2022b and earlier.
For MATLAB installations performed using the MATLAB Package Manager:
  • R2022b and R2022a do not include the offline documentation by default. To install the offline documentation, the "--doc" option must be specified at the time of installation. For example:
.\mpm.exe install --release=R2022b --destination="C:\Users\<USER>\matlab" --products=MATLAB --doc
  • R2021b and earlier already include the offline documentation with the installation.
For installation workflows that include documentation by default, there are no options during installation to exclude it. You may use Preferences in MATLAB to specify to use offline documentation rather than online documentation.

1 Comment

Off-line documentation R2023a installed by steps described here does not work at all on Linux machines.

Sign in to comment.

More Answers (0)

Categories

Products

Community Treasure Hunt

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

Start Hunting!