Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

isconnection

Determine Bloomberg connection V3

Syntax

Description

example

v = isconnection(c) returns true if c is a valid Bloomberg® V3 connection and false otherwise.

Examples

collapse all

Create the Bloomberg connection.

c = blp;

Alternatively, you can connect to the Bloomberg Server API using blpsrv or Bloomberg B-PIPE® using bpipe.

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)

Related Examples

Input Arguments

collapse all

Bloomberg connection, specified as a connection object created using blp, blpsrv, or bpipe.

Output Arguments

collapse all

Valid Bloomberg connection, returned as a logical true, 1, or a logical false, 0.

See Also

| | | |

Introduced in R2010b

Was this topic helpful?