urlread vs. view source - need view source data
조회 수: 7 (최근 30일)
이전 댓글 표시
I am trying to use Matlab to grab some data from a website and have hit a dead end. When looking at the 'view source' in my web browser, I can see the data clearly. However, when I utilize the built-in Matlab function 'urlread' it only seems to retrieve the static portions of the webpage.
I'm assuming the webpage uses java and dynamically updates? Is there a way to have Matlab create a static image of the webpage to permit data gathering? Is there a better way? If so, would you please provide examples.
So frustrating 'view source' shows the data right there ... Thanks!
댓글 수: 3
Christian Præstegaard Sørensen
2016년 6월 17일
Hi Michael, Did you find a solution to the problem? I have similar issues... /Christian
답변 (3개)
Guillaume
2014년 11월 3일
webread('http://research.investors.com/quotes/nasdaq-apple-inc-aapl.htm', weboptions('Username', 'xxx', 'Password', 'yyy'))
댓글 수: 0
buer
2014년 12월 1일
Hi Guillaume,
I am using Matlab 2013b. does nto have the function weboptions.....do you know how can I perform authentication with this version? Thanks.
댓글 수: 1
Guillaume
2014년 12월 1일
To get more visibility to your question, you would be better off starting a new question of your own rather than highjacking somebody's else.
Please do so.
참고 항목
카테고리
Help Center 및 File Exchange에서 Web Services에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!