DOC is not currently available.

12 visualizaciones (últimos 30 días)
Henry
Henry el 3 de Mayo de 2021
Comentada: Stefanie Schwarz el 29 de Mzo. de 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?

Respuesta aceptada

Shiva Kalyan Diwakaruni
Shiva Kalyan Diwakaruni el 6 de Mayo de 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 comentarios
Jan
Jan el 6 de Mayo de 2021
Is it possible to install Matlab without the off-line documentation?
Stefanie Schwarz
Stefanie Schwarz el 29 de Mzo. de 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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Install Products en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by