- Install Documentation on Offline Machines - MATLAB & Simulink (mathworks.com)
- User-defined startup script for MATLAB - MATLAB startup (mathworks.com)
How to specify a custom offline help file path
12 views (last 30 days)
Show older comments
I followed the instructions on the official website to install the document on the offline computer, with --destination to specify an installation location, after downloading, you need to set the root directory of the document in the startup.m file, set to help the installation location of the document, then this startup.m in which folder, or you need to create a new startup.m file, the Where to put it?
0 Comments
Accepted Answer
Suraj
on 22 Jun 2023
Greetings,
I understand that you're installing the documentation on an offline computer using the --destination flag. You must point MATLAB to the documentation and you can do so by following the below steps:
1. Open the "startup.m" file that is present in the directory pointed to by userpath environment variable.
edit(fullfile(userpath,'startup.m'))
Note: If you haven't created this file before, you will receive a popup asking if you want to create the file first. Select 'Yes' on the popup to create the file and start editing it.
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.
You may refer to the following documentation links for more information:
Hope this helps.
Regards,
Suraj.
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!