Reading website table into matrix

1 view (last 30 days)
I am trying to read a table from a website into a matrix for further processing.
I tried using urlread. My plan was to read it in as a string and then pull out what I needed. But the string thats input doesn't have the table data in it that I can see. I am guessing I should be using a different function but am struggling to find one that works for me.

Accepted Answer

Star Strider
Star Strider on 5 Oct 2015
Looking at that site, from the way it’s organised, I doubt you would be able to do what you want. You probably have to get the data manually, and just save it to a text file. (I didn’t go past the ‘Historical Data’ -> ‘Statistics Data’ pages, so I don’t know precisely what the options are.)
  2 Comments
Matthew Schafer
Matthew Schafer on 6 Oct 2015
Thanks for trying. I have contacted the organization that runs the website to see if they have any advice as I am sure I am not the first person to want this.
Star Strider
Star Strider on 6 Oct 2015
My pleasure.
I wish I could have provided a real working solution, but the complexity of the choices required on that site are beyond my Web programming abilities.

Sign in to comment.

More Answers (0)

Categories

Find more on Tables 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!