Request for automating on install documentation for 2024a offline

39 views (last 30 days)
I have been able to automate the install for 2024a for 2 things.
The program itself and the documentation install by running the mpm.exe install-doc --matlabroot=(ROOT of Matlab install) command laid out here: https://www.mathworks.com/help/install/ug/install-documentation-on-offline-machines.html#mw_27fa9b7f-778b-4384-8b43-68f00cd0fb95
The only step I seem unable to find documentation to change is for the users needing to:
  1. Open MATLAB.
  2. On the Home tab, in the Environment section, click Preferences.
  3. In the left pane of the Preferences dialog box, click MATLAB, and then click Help.
  4. Under Documentation Location, select Installed locally.
When installing documentation offline to multiple machines it would be great to have that Matlab knows the documentation will be local off the bat. Is there a flag to set or something to either do on install or a variable to change to do it across the whole computer for all users to look that the documentation is installed locally?

Accepted Answer

Tyler
Tyler on 28 Aug 2024
I found it on a previous info
https://www.mathworks.com/matlabcentral/answers/2114916-how-to-set-the-default-documentation-location-to-locally-installed-at-the-time-of-installation
s=settings; s.matlab.help.DocLocation.PersonalValue='INSTALLED'
Thanks PHIL

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!