saving content to text file

4 visualizaciones (últimos 30 días)
kash
kash el 1 de Sept. de 2013
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

Respuesta aceptada

Walter Roberson
Walter Roberson el 1 de Sept. de 2013
urlwrite()
  4 comentarios
kash
kash el 2 de Sept. de 2013
I tried urlwrite but it writes another data instead of web pge content
Walter Roberson
Walter Roberson el 2 de Sept. de 2013
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.

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by