MATLAB: Does the Reuters fetch method throw an error in MATLAB R2009a
Why does the Reuters fetch method throw the following error message when requesting data:
??? In an assignment A(I) = B, the number of elements in B and I must be the same.
Error in ==> reuters.fetch at 88
d(i) = tib2struct(data);
Best Answer
This is a known limitation of the Datafeed Toolbox in MATLAB R2009a. Better support for the third party library Reuters Robust Foundation API was added in R2009b. Please contact MathWorks Technical Support if you need further assistance.
Currently, the documentation is missing information relating to how the Callback is to be written. In order to see a code sample, you may look at the code in 'rtdemo.m' by executing the following:
Hmm, I'm pretty sure, reading data from bloomberg works only on a machine that has bloomberg installed: from doc blp
c = blp makes a connection to the local Bloomberg V3 communications server. You must have a Bloomberg software license for the host on which the Datafeed Toolbox and MATLAB software are running.
Best Answer