I want use matlab to get IBM price from yahoo price can get by
quote = fetch(yahoo, 'IBM', 'Last');
px = quote.Last;
Now I want to retrieve the data every minute from, for example, 9:00 am to 1:00 pm. I would like to use timer object to get my data.
However, I cannot figure out how to use it. What I can get is
t = timer;
t.ExecutionMode = 'fixedRate';
t.Period = 60;
especially the timerFcn, I don't get how to use it.
Hope someone can write me an example with this. Thanks
timerFcnis the function you ant to execute.