As it is shipped, yahoo/fetch does not guarantee that you get the data you request (it might throw a FileNotFoundException in your face). Sometimes the data you want simply isn't to be found on yahoo, and you will have to run fetch 10 times or more, which makes it worthless if you want to run batch jobs. This little extension takes care of that (you can run fetch ONCE and it will "wait" until the data is available).
In the commandwindow, type edit classpath.txt and add FETCH (your directory from above) as a separate row.
Edit fetch.m in your working directory. Change line 278 (or search for "is = www.openStream") to:
fix = EURL(www);
is = fix.openStream;
Now simply restart matlab (to let the changes to classpath.txt take effect) and run fetch exactly as before.
· MATLAB Release: R12
· Datafeed Toolbox