DOC is not currently available.

10 Ansichten (letzte 30 Tage)
Henry
Henry am 3 Mai 2021
Kommentiert: Stefanie Schwarz am 29 Mär. 2023
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?

Akzeptierte Antwort

Shiva Kalyan Diwakaruni
Shiva Kalyan Diwakaruni am 6 Mai 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 Kommentare
Jan
Jan am 6 Mai 2021
Is it possible to install Matlab without the off-line documentation?
Stefanie Schwarz
Stefanie Schwarz am 29 Mär. 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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Install Products finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by