DOC is not currently available.

10 次查看(过去 30 天)
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?

采纳的回答

Shiva Kalyan Diwakaruni
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 个评论
Jan
Jan 2021-5-6
Is it possible to install Matlab without the off-line documentation?
Stefanie Schwarz
Stefanie Schwarz 2023-3-29
@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

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Install Products 的更多信息

标签

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by