DOC is not currently available.

10 views (last 30 days)
My students are getting an error message when they try to use the 'doc' command:
Error using doc (line 49)
DOC is not currently available.
I've checked and there are files under R2019b/help/
Is there a configuration option or an environment variable I should set?

Accepted Answer

Shiva Kalyan Diwakaruni
Shiva Kalyan Diwakaruni on 6 May 2021
Hi,
The above error might be due to one of the following reasons
1) This error is mainly occuring because of unsupported Platform Hence
a) make sure that platform you are running doc command on is supported by MATLAB
b) make sure there is no java dependency errors and matlab is using compatible versions of JAVA
2) If above reasons are not the cause for error then other reason might be due to the usage of doc command.Check out the documentation from below link
Hope it helps.
  2 Comments
Jan
Jan on 6 May 2021
Is it possible to install Matlab without the off-line documentation?
Stefanie Schwarz
Stefanie Schwarz on 29 Mar 2023
@Jan In R2022b and prior, the local documentation is always included in the MATLAB installation. So the error message "DOC is not currently available" most likely has nothing to do with the offline doc not being available physically. The asker confirmed this as there seem to be files in his <matlabroot>/help/ folder.
Only since R2023a, we no longer install the offline doc by default. Here is the related release note: https://www.mathworks.com/help/releases/R2023a/matlab/release-notes.html#mw_edaaac74-7bbc-4a7e-97c4-9b323f60651f

Sign in to comment.

More Answers (0)

Categories

Find more on Install Products in Help Center and File Exchange

Tags

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!