HTML Parsert Convert HTML file to a MATLAB structure
29 views (last 30 days)
Show older comments
Can MATLAB parse the HTML files into STRUCTURE? only can parse XMLs? How to read HTMLs? HTML Parser that can extracts * links. * paragraphs. * headings. * text of the page.
2 Comments
Varoujan
on 7 Jun 2015
I would like to know how to do this too ! I have been searching but can't find any method.
Walter Roberson
on 7 Jun 2015
You might be interested in http://blogs.mathworks.com/pick/2010/08/20/get-html-table-data-into-matlab/
Answers (1)
Walter Roberson
on 7 Jun 2015
Sometimes the best thing to do is use a different language. In particular you can install a utility such as a perl HTML->XML convertor and call upon it using the MATLAB perl() command.
0 Comments
See Also
Categories
Find more on String Parsing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!