saving content to text file

조회 수: 4 (최근 30일)
kash
kash 2013년 9월 1일
I want to save the content from a webpage to a textfile
suppose i have a url
https://www.google.co.in/?gws_rd=cr&ei=ZugiUuGKAcKGrgellYHgBA#q=matlab
i used web command for opening the above page ,now i want to save or write all content in that web page to a text file
Kindly help

채택된 답변

Walter Roberson
Walter Roberson 2013년 9월 1일
urlwrite()
  댓글 수: 4
kash
kash 2013년 9월 2일
I tried urlwrite but it writes another data instead of web pge content
Walter Roberson
Walter Roberson 2013년 9월 2일
Once it has been fetched you can process the HTML to extract the text. In general this will not be simple because of the need to work with javascript and cascading style sheets.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Text Files에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by