MATLAB: What are the functions in the Datafeed Toolbox 4.2 (R2011b) equivalent to BDH and BDP in Excel

bdhbdpbloombergDatafeed Toolboxdateequalequivalentexcelfundamentalpublic

I am using the Bloomberg datafeed and want to know the functions in the Datafeed Toolbox 4.2 (R2011b) that are equivalent to the Excel BDH (Bloomberg Data History) and BDP (Bloomberg Data Point) functions.
For example, I would like the equivalent to the Excel function:
=BDP("mtl cn equity","short and long term debt","fundamental public date=20111025","eqy fund per=q")

Best Answer

The BLP.HISTORY function is equivalent to the BDH function in Excel. The BLP.GETDATA function is equivalent to the BDP function in Excel.
For the example given, the equivalent is:
c = blp;
aba = getdata(c, ['mtl cn equity'], {'SHORT_AND_LONG_TERM_DEBT'}, {'FUNDAMENTAL_PUBLIC_DATE','EQY_FUND_PER'}, {'20111025','Q'});