Main Content

getAllFieldMetaData

Obtain Bloomberg EMSX field information

Since R2021a

Description

r = getAllFieldMetaData(c) returns the Bloomberg® EMSX field information using the Bloomberg EMSX connection c with the Bloomberg EMSX C++ interface.

example

Examples

collapse all

Create the Bloomberg EMSX connection c using the Bloomberg EMSX C++ interface.

c = bloombergEMSX('//blp/emapisvc_beta');

Request all fields supported by Bloomberg EMSX service using the Bloomberg EMSX connection c.

 r = getAllFieldMetaData(c)
 r = 
 
        EMSX_FIELD_NAME: {113x1 cell}
         EMSX_DISP_NAME: {113x1 cell}
              EMSX_TYPE: {113x1 cell}
             EMSX_LEVEL: [113x1 double]
               EMSX_LEN: [113x1 double]

Display all field information for the first Bloomberg EMSX field using a cell array. Create a cell array from the fields in the returned data structure r.

{r.EMSX_FIELD_NAME{1} r.EMSX_DISP_NAME{1} r.EMSX_TYPE{1} r.EMSX_LEVEL(1) r.EMSX_LEN(1)} 
 'MSG_TYPE'    'Msg Type'    'String'    [0]    [1]

Close the Bloomberg EMSX connection.

close(c)

Input Arguments

collapse all

Bloomberg EMSX service connection, specified as a bloombergEMSX object.

Output Arguments

collapse all

Return information for all fields, returned as a structure for all fields supported by Bloomberg EMSX.

Version History

Introduced in R2021a