Download data from a website

I need to download data from a website. Manually, I would enter a username and password and press a 'download' button and it would download into a csv file. Is it possible to do this in Matlab? I understand that I can use functions to read directly from a website but can't find much on the extra step of having to click on a button?

댓글 수: 4

Geoff Hayes
Geoff Hayes 2016년 7월 7일
Rachel - when you press the button, what is the URL that is created to grab the data?
Rachel
Rachel 2016년 7월 7일
It comes up with \data.html but it comes up with the same page in a browser and in Matlab using webread it comes up with just characters - e.g. (_ _)( \/ )( ) ( \ ( )(_ _)( ) ( )( \( )(_ _)( _)( ,) thanks
Geoff Hayes
Geoff Hayes 2016년 7월 7일
What parameters are you passing into webread?
Rachel
Rachel 2016년 7월 7일
At the moment, just username and password. I'm not sure of the other options at the moment.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Downloads에 대해 자세히 알아보기

태그

질문:

2016년 7월 7일

댓글:

2016년 7월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by