Request for automating on install documentation for 2024a offline

43 次查看(过去 30 天)
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?

采纳的回答

Tyler
Tyler 2024-8-28
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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by