Questions tagged [urlread]
33 questions
7
votes
3 answers
Handling an invalid security certificate using MATLAB's urlread command
I'm accessing an internal database using MATLAB's urlread command, everything was working fine until the service was moved to a secure server (i.e. with an HTTPS address rather than an HTTP address). Now urlread no longer successfully retrieves…

Ian Hopkinson
- 3,412
- 4
- 24
- 28
5
votes
1 answer
Fix for Octave urlread causing Peer certificate cannot be authenticated with given CA certificates
Question
How to the fix (not workaround) for Octave (suppose libcurl bundled with octave) urlread causing Peer certificate cannot be authenticated with given CA certificates?
Having read pkg install from forge in windows, it looks the Octave…

mon
- 18,789
- 22
- 112
- 205
4
votes
3 answers
MATLAB urlread Won't Work for Specific Webpage
I am attempting to scrape a webpage using the urlread() function in MATLAB, though I've run into a problem that I haven't seen before. When I run the code
X = urlread('http://espn.go.com/mens-college-basketball/schedule/_/date/20141114');
I get the…

dwm8
- 309
- 3
- 16
4
votes
3 answers
Octave urlread will not download data due to "Pee
I am using Octave 4.0.0 for windows, and want to download stock prices from a web page that is open to all public. I use the following call:
data = urlread(https://www.netfonds.no/quotes/paperhistory.php?paper=API.A&csv_format=csv)
However, I get…

myotis
- 393
- 4
- 16
3
votes
2 answers
Matlab text string/html parse
I am trying to get information from a website (html) into MATLAB. I am able to get the html from online into a string using:
urlread('http://www.websiteNameHere.com...');
Once I have the string I have a very LONG string variable, containing the…

user3386079
- 31
- 1
2
votes
0 answers
How to achieve a persistent HTTP session in MATLAB?
I am trying to establish a persistent session in MATLAB for the POST method.
For instance, in Python, the requests library allows the use of persistent sessions like so:
s = requests.session()
s.post('localhost/login.py', login_data) #logged in!…

JosephAgnes
- 49
- 5
2
votes
1 answer
MATLAB urlread - How to POST data in JSON format?
As I know ,the urlread function can post to the URL. I did it with the string.
urlread(url, 'Post', {'userId', userid, 'Password', Password}
but There are some JSON value like that:
"country": ["US","JP"],
"student": false,
I tried this code but…

star lin
- 21
- 3
2
votes
2 answers
MATLAB How to Use URLREAD with a Password Protected Website
I am trying to use urlread to grab the contents of a password protected website. When I'm logged in, the url is http://media.nba.com/Stats/OfficialBoxScores.aspx, and when logged out, the url is…

dwm8
- 309
- 3
- 16
2
votes
1 answer
downloading from site using href
I'm sure that this is a very simple matter, but I don't have the necessary knowledge to deal with it. I did search extensively, and could not find any solution - this is likely because I'm not even sure about what specifically to look for and study.…

user2686629
- 21
- 1
2
votes
1 answer
How to reconstruct a String correctly from a String which be encoded by wrong charset
Edit Added some new information to make the question more clearly.
In matlab early before 2012B, the method urlread would return a string constructed by wrong charset if the web content's charset is not utf8. (It has been improved somewhat in Matlab…

Eastsun
- 18,526
- 6
- 57
- 81
1
vote
0 answers
Catching website changes with python using urlopen read function
Hi I am a high school student who has not used python to code programs much, and I was having trouble with creating code to check when a website was updated. I have looked at different resources and I have used them to create what I have but when I…

Zerrai
- 21
- 2
1
vote
0 answers
Reading file on remote server via Java
I am developing a Java application through which I need to read the log files present on a server and perform operations depending on the content of the logs.
Files range from 3GB up to 9GB.
Here on stack I have already read the discussion about…

64Bit1990
- 302
- 2
- 16
1
vote
1 answer
Octave: How do I convert urlread output to a struct
I’m running Octave 5.1.0
In Matlab you can use webread to get a struct from a web page, like this:
data=webread(urlString);
data is then a struct ready to use. (urlString specifies that the format should be json, but I can also get the data in xml…

Marcallus
- 15
- 2
1
vote
0 answers
urlread2 not working with marketwatch
I have been using urlread2 to read financial statements from marketwatch, and it was previously working. I am trying to run the same Matlab script I previously ran and cannot get it work. The html variable returned is an empty matrix.
Any ideas ?…

sha3bani
- 11
- 3
1
vote
0 answers
matlab websave and urlwrite with authentication and proceeding with options
I have a question about downloading a file from a website using matlab. It is actually a four step as following.
1) There is a web authentication for reaching the website:
http://ngawest2.berkeley.edu/users/sign_in?unauthenticated=true
Example…

Baha
- 33
- 4