Main Content

getAllFieldMetaData

ObtainBloombergEMSX现场通知ation

Description

example

r= getAllFieldMetaData(c)returns the Bloomberg®EMSX现场通知ation using the Bloomberg EMSX connectionc.

Examples

collapse all

Create a connectioncto the Bloomberg EMSX.

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

Request all fields supported by Bloomberg EMSX service using the Bloomberg EMSX connectionc.

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 structurer.

{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 usingemsx.

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