Skip to Main Content Skip to Search
Product Documentation

kx.isconnection - Verify whether connections to Kx Systems, Inc. kdb+ databases are valid

Syntax

x = isconnection(k)

Arguments

k

Kx Systems, Inc. kdb+ connection object created with the kx function.

Description

x = isconnection(k) returns x = 1 if the connection to the Kx Systems, Inc. kdb+ database is valid, and x = 0 otherwise.

Examples

Establish a connection to a Kx Systems, Inc. kdb+ database, k:

k = kx('localhost',5001);

Verify that k is a valid connection:

x = isconnection(k)
x = 1

See Also

kx | kx.close | kx.fetch | kx.get

  


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