Main Content

getAllFieldMetaData

Obtain Bloomberg EMSX field information

Description

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

example

Examples

collapse all

Create a connection c to the Bloomberg EMSX.

 c = emsx('//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 connection object created using emsx.

Output Arguments

collapse all

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

Version History

Introduced in R2013a