File Exchange

image thumbnail

URL Read Table

version (5.01 KB) by Gareth Thomas
Return cell array of tables from HTML page.


Updated 26 Oct 2016

View License

Given a URL the function will return a cell array of tables for every a HTML table exists in the source code.

Comments and Ratings (4)


Excellent job!


Need to make initial calls to regexp case-insensitive using regexpi (you do in later calls). Changing that made it work for me.

very nice work! I liked the getTableFromWeb_mod a lot but this submission suits my needs more since the number of tables can vary from website to website in my for loop (different stations have different amount of measurements available). loading them all at ones solves this problem as I can now screen the headers to check which data is available. I did not like the table format though so I just removed the cell2table call


Updated the Copyright notice.

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.

Learn About Live Editor