Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

Retrieve Bloomberg data for many securities

Asked by George on 4 Oct 2011
Latest activity Commented on by PS on 24 Dec 2013

Hi all

I am trying to retrieve bloomberg data via matlab.

I am using the following commands:

c = blp;
data = getdata(c,tickers,'PX_MID');

where tickers is a cell vector with securities tickers e.g. IBM US EQUITY.

The problem is when length(tickers)>10 an error occus:

Subscripted assignment dimension mismatch.
Error in ==> blp.getdata at 146
          d.(flds{j})(i,1) = tmp{i}.(flds{j});

Any help would be appreciated

Thanks

George

1 Comment

PS on 24 Dec 2013

hi george did you find a solution to this problem..i used the history function but seems it had errors . Was this corrected in the current version of matlab

George

Products

No products are associated with this question.

0 Answers

Contact us