Skip to Main Content Skip to Search
Product Documentation

bloomberg.get - Retrieve Bloomberg connection object properties

bloomberg.get is not recommended. Use blp.get instead.

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

  


Free Interactive Computational Finance CD

View demos and recorded presentations led by industry experts.

Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.

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