saving content to text file

3 次查看(过去 30 天)
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 中查找有关 Structured Data and XML Documents 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by