"Fernando Alarcon" <a20070808@pucp.pe> wrote in message
news:mb9iml$5ob$1@newscl01ah.mathworks.com...
> I need to download the html code of a website but matlab codes ( urlread ,
> urlreadv or urlread2 ) do not allow my task, as these functions do not
> download the full html code .
>
> Need to get this url tables automatically .
>
> url =
> 'http://www.smv.gob.pe/Frm_DetalleInfoFinanciera.aspx?data=4E1101155C793CF42D522B378F036F19D6188E54C3FFDE8BCB9A40C442A917B656E53262C4B483971979D8E4050757FAA70ACAA486AB3F24887A44828D01E8DC9AA09D1EF5072CE83CD7EE8A809A8A81060E27E159F1A546CA0A0066381D6F7313CA72F2C2C4E51923D94384EF7CF50A9861DBA33613CF4232F9B076240C8A2C75BFFE2894EA2B38ACBC54A693D5AA6156'
> htmlcont = urlread(url)
>
> The downloaded code is different html code of the page when you walk
> directly (ctrl + u).
Does the website update frequently (and such an update took place between
the time you used URLREAD and the time you compared the code in your web
browser?)
Does the owner provide a different view based on the User agent that
requested it?
http://en.wikipedia.org/wiki/User_agent
If you think these are not the cause of the difference you're seeing,
contact Technical Support with this example and work with them to diagnose
the problem.
--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com