The htmlTree object is supported in which version?
Mostrar comentarios más antiguos
My matlab is R2016b, I can't open the htmlTree(), and extractHTMLText() functions. I wonder if the htmlTree object is supported in R2016b? Or I need to add on extra toolbox/module? Please let me know how do I get those fuctions. Thanks.
1 comentario
dpb
el 4 de Jul. de 2020
Respuestas (1)
Steven Lord
el 4 de Jul. de 2020
0 votos
According to the note at the end of the htmlTree function's documentation page it was introduced in release R2018b. You will need to upgrade to this release or later and have Text Analytics Toolbox installed (as dpb pointed out, this function is in this toolbox) in order to use it.
4 comentarios
Xuesong Deng
el 6 de Jul. de 2020
dpb
el 6 de Jul. de 2020
I think that will all depend on the web site and the data you're trying to retrieve. Start by reading the doc for webread and links from it that give some examples.
Mostly it probably depends upon whether the web site is set up to be a data source or whether you're trying to "scrape" the content out of a display page or what...
You'll just have to try it and see what you get for starters and figure out what need to do from there...
Xuesong Deng
el 7 de Jul. de 2020
dpb
el 7 de Jul. de 2020
You're past my knowledge base there...I've never delved into web development so to quote Sgt Schultz, "I know nuthink!" about the details.
I'd guess the latter is probably mostly true that a generic web page returned as an html page requires parsing the html to extract the info.
I'm sure there are tools to do this, but see the previous quote regarding my level of knowledge regarding what those would be...
Categorías
Más información sobre Web Services en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!