Clear Filters
Clear Filters

Running a program multiple times: Retrieval of live currency rates

1 view (last 30 days)
Hi,
I haven't used matlab in several years and so have forgotten some of the lingo!
I would like to download the Cable price from a website, which I have managed using urlread(). I then split the returned string into several prices.
What I am struggling with is then storing this price and then running the program again.
Put simply, I wish to retrieve a url every 10 seconds and store the data so that I can then analyse it.
I imagine this is a very simple problem!
Many thanks
Stu

Answers (1)

Image Analyst
Image Analyst on 12 Jul 2014
Edited: Image Analyst on 12 Jul 2014
Why can't you just use save() or fprintf() or csvwrite() or something like that, depending on what format you want the output file in?
or else strtok().

Categories

Find more on Stochastic Differential Equation (SDE) Models 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!