how to read data form website url

28 views (last 30 days)
Pramod Ladva
Pramod Ladva on 10 May 2018
Answered: Luis J Gilarranz on 2 Mar 2019
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
Rik
Rik on 10 May 2018
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 on 10 May 2018
Edited: per isakson on 10 May 2018
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.

Answers (1)

Luis J Gilarranz
Luis J Gilarranz on 2 Mar 2019

Products

Community Treasure Hunt

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

Start Hunting!