DOC is not currently available.

12 vues (au cours des 30 derniers jours)
Henry
Henry le 3 Mai 2021
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?

Réponse acceptée

Shiva Kalyan Diwakaruni
Shiva Kalyan Diwakaruni le 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 commentaires
Jan
Jan le 6 Mai 2021
Is it possible to install Matlab without the off-line documentation?
Stefanie Schwarz
Stefanie Schwarz le 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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Install Products dans Help Center et File Exchange

Tags

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by