webread could not be determined IP adress

3 次查看(过去 30 天)
I'm having since two weeks problems using webread to get data from an URL. I can open the URL using the MATLAB browser, but if I use webread doesn't works and show the code :
Error using webread (line 122)
The IP address of "xxx.xxx.x.xx" could not be determined.
Previously it worked without problems. this happens for any url read.
  4 个评论
Nikhil
Nikhil 2022-12-13
Hi Julio, check this link once. Might help.
Also, one thing that I have noticed from my end is webread is not working for me if I set the protocol to http, but the same thing works fine with https.
You could try the above thing as well and let me know
Julio Castro
Julio Castro 2022-12-14
Thank you very much !!
it worked using:
options = weboptions( 'CertificateFilename' , '' " );
webread(url, options)
I've tried both https and http, and it worked both ways.

请先登录,再进行评论。

回答(1 个)

Nikhil
Nikhil 2022-12-19

标签

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by