From: Ardem on
Hello everybody,
I would like to use Matlab to monitor weather changes from a website that gives real-time data. However, the page uses an applet that is written in javascript. Is there a way that I can extract out the data that is inside the running script using matlab? Thanks in Advance.
From: Yair Altman on
"Ardem " <atamrazian(a)hotmail.com> wrote in message <hdt28d$5a9$1(a)fred.mathworks.com>...
> Hello everybody,
> I would like to use Matlab to monitor weather changes from a website that gives real-time data. However, the page uses an applet that is written in javascript. Is there a way that I can extract out the data that is inside the running script using matlab? Thanks in Advance.


Yes - download the webpage using urlread(), then extract your data using regexp() and process it with str2double() and its variants.

Yair Altman
http://UndocumentedMatlab.com
 | 
Pages: 1
Prev: find zeros bessel function
Next: Contourf + imshow