how to read data form website url

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 Comments

Did you edit the certificates in some way?
In the mean time you could try to connect with http instead of https.
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."/>
...

Sign in to comment.

Products

Asked:

on 10 May 2018

Answered:

on 2 Mar 2019

Community Treasure Hunt

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

Start Hunting!