Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

getAllFieldMetaData

Obtain Bloomberg EMSX field information

Syntax

Description

example

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

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)

Related Examples

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.

More About

collapse all

Tips

For details about Bloomberg EMSX, see the EMSX API Programmer's Guide using the WAPI <GO> option from the Bloomberg terminal.

Introduced in R2013a

Was this topic helpful?