html navigation and getting file from website.
이전 댓글 표시
2 related questions:
1. Is there a way/process to write code to navigate through html. I am wanting to go to a specific website, enter information into specific fields, click the search button, which will pull up a results query.
2. Is it possible to grab a specific file (e.g. excel file) from a non-ftp url? I couldn't find that it was possible using the urlwrite function.
답변 (1개)
Walter Roberson
2011년 4월 6일
0 개 추천
If urlwrite() is not sufficient for your navigation, then you may wish to use the Java Robot class.
댓글 수: 4
Ryan
2011년 4월 6일
Walter Roberson
2011년 4월 6일
Could be pretty tricky, as the fields might have been dynamically created by Javascript.
Ryan
2011년 4월 6일
Walter Roberson
2011년 4월 6일
No, http is defined to work with one URL at a time.
If you were to use a package such as cURL to fetch the pages of interest then you might be able to program multiple URLs in to one call to cURL (which would still have to fetch the files one at a time.)
카테고리
도움말 센터 및 File Exchange에서 File Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!