bloomberg.get - Retrieve Bloomberg® connection object properties

Syntax

value = get(Connect, 'PropertyName')
value = get(Connect)

Arguments

Connect

Bloomberg connection object created with the bloomberg function.

PropertyName

(Optional) A MATLAB® string or cell array of strings containing property names. Property names are:

  • 'Connection'

  • 'IPAddress'

  • 'Port'

  • 'Socket'

  • 'Version'

Description

value = get(Connect, 'PropertyName') returns a MATLAB structure containing the value of the specified properties for the Bloomberg connection object.

value = get(Connect) returns the value for all properties.

Examples

Establish a connection, c, to a Bloomberg data server:

c = bloomberg

Retrieve this connection's properties:

p = get(c, {'Port', 'IPAddress'})
p = 
     port: 8194
     ipaddress: 111.222.33.444

See Also

bloomberg, bloomberg.close, bloomberg.fetch, bloomberg.isconnection

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS