Main Content

isconnection

Determine if connections to Haver Analytics data servers are valid

    Description

    example

    x = isconnection(c) returns 1 if the specified connection is a valid haver or haverdirect connection object, and 0 otherwise.

    Examples

    collapse all

    Use isconnection to verify that your Haver Analytics connection is valid.

    Establish a haver connection.

    c = haver('d:\work\haver\data\haverd.dat');
    

    Verify the connection by using the isconnection function.

    x = isconnection(c)
    x =
    
              1.00
    

    Input Arguments

    collapse all

    Haver Analytics connection, specified as a haver or haverdirect connection object.

    Version History

    Introduced in R2007a