Main Content


Determine Bloomberg Server connection V3

Since R2021a



v = isconnection(c) returns true (1) if c is a valid Bloomberg® V3 connection using the Bloomberg Desktop C++ interface and false (0) otherwise.


collapse all

Connect to the Bloomberg Server using the IP address of the machine running the Bloomberg Server. This example uses the Bloomberg Server C++ interface and assumes the following:

  • The Bloomberg UUID is 12345678.

  • The IP address for the machine running the Bloomberg Server is ''.

c is a bloombergServer object.

uuid = 12345678;
ipaddress = '';

c = bloombergServer(uuid,ipaddress);

Validate the Bloomberg connection.

v = isconnection(c)
v =


v returns true showing that the Bloomberg connection is valid.

Close the Bloomberg connection.


Input Arguments

collapse all

Bloomberg Server connection, specified as a bloombergServer object.

Version History

Introduced in R2021a