Main Content

isconnection

Determine Bloomberg Desktop connection V3

Since R2021a

Description

example

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

Examples

collapse all

Create the Bloomberg connection using the Bloomberg Desktop C++ interface.

c = bloomberg;

Validate the Bloomberg connection.

v = isconnection(c)
v =

     1

v returns true showing that the Bloomberg connection is valid.

Close the Bloomberg connection.

close(c)

Input Arguments

collapse all

Bloomberg connection, specified as a bloomberg object.

Version History

Introduced in R2021a