how to read data form website url

24 次查看(过去 30 天)
i tried using webread,but am getting below error Could not establish a secure connection to "www.mathworks.com". The reason is "error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed". Check your certificate file (C:\Program Files\MATLAB\R2016b\sys\certificates\ca\rootcerts.pem) for expired, missing or invalid certificates.
  2 个评论
Rik
Rik 2018-5-10
Did you edit the certificates in some way?
In the mean time you could try to connect with http instead of https.
per isakson
per isakson 2018-5-10
编辑:per isakson 2018-5-10
Here (R2016a)
>> webread('https://www.mathworks.com')
returns
ans =
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="MathWorks develops, sells, and supports MATLAB and Simulink products."/>
...

请先登录,再进行评论。

回答(1 个)

Luis J Gilarranz
Luis J Gilarranz 2019-3-2

产品

Community Treasure Hunt

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

Start Hunting!

Translated by