After installation of documentation on the PC, I get "Invalid default value for property 'Location' in class 'matlab.in​ternal.doc​.url.DocPa​geParser'"

60 次查看(过去 30 天)
How can I mitigate that ?
  3 个评论
Mathieu GRISON
Mathieu GRISON 2024-11-13,10:22
编辑:Mathieu GRISON 2024-11-13,10:31
Thanks for looking at my issue !
Activation and installation went well (R2024b update1) except :
I get "unrecognized function or variable "settings"
I used forum solution :
>> restoredefaultpath
>> rehash toolboxcache
>> savepath
Then after installation : preferences / help / Documentation Location to ask for installation offline of help.
it looked to go well, but anything I ask in help little windows leads to :
(while I am writing) :
Error using weboptions (line 378)
Unsupported input: string
Error in matlab.internal.doc.search.sendSearchMessage (line 13)
options = weboptions('RequestMethod','post', ...
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in matlab.internal.doc.search.configureSearchServer (line 13)
matlab.internal.doc.search.sendSearchMessage('addons', 'Body', '[]');
(and when I hit enter)
com.mathworks.jmi.MatlabException: Invalid default value for property 'Location' in class 'matlab.internal.doc.url.DocPageParser':
Unsupported input: string
at com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method)
at com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:273)
at com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:120)
at com.mathworks.jmi.Matlab.mtFeval(Matlab.java:1732)
at com.mathworks.mde.help.DisplayDocPageWorker.runOnMatlabThread(DisplayDocPageWorker.java:25)
at com.mathworks.jmi.MatlabWorker$2.run(MatlabWorker.java:79)
Govind KM
Govind KM 2024-11-14,10:21
To verify that MATLAB opens the locally installed documentation, restart MATLAB after installing the documentation, and enter this command in the MATLAB Command prompt:
doc
On the documentation home page that opens, if the URL points to a local IP address and port number (for example, http://127.0.0.1:12345), then MATLAB is accessing the locally installed documentation. Providing this output could help in debugging the issue.
Also, could you elaborate on how the help command was used? Perhaps for a specific function? Are you writing it in the command window?

请先登录,再进行评论。

采纳的回答

Govind KM
Govind KM 2024-11-18,6:38
I was able to install documentation offline in MATLAB R2024b Update 1 without any issues, following the steps mentioned in the following documentation:
I would suggest performing a reinstall of MATLAB and following the steps mentioned in the above link to install documentation offline. If the issue persists, consider contacting MathWorks technical support here:
Hope this helps!
  1 个评论
Mathieu GRISON
Mathieu GRISON about 1 hour 前
编辑:Mathieu GRISON about 1 hour 前
Many thanks for these propositions.
I was unable ton accept the response for an unknown reason, now it seems to work properly.
I initially thought it was sufficient to select "Preference / Help / Documentation Location and choose "local" since it leaded to download data, and no faillure message appeared. But ... no.
Now I see that I can try an offline installation of documentation and I will try that and read the docummentation you mentionned as soon as I can (too busy right now). All the more since I know for sure that the installation of matlab itself must be done with the offline way in my company. I will let you know.
Cheers

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by