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.

Cite As

Gareth Thomas (2021). URL Read Table (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (5)

Takuya Miyashita


Ahmed Raslan

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

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

Community Treasure Hunt

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

Start Hunting!