Documentation

isconnection

(Not recommended) Determine if database connections are valid

isconnection will be removed in a future release. Use isopen instead.

Syntax

a = isconnection(conn)

Description

a = isconnection(conn) returns 1 if the database connection conn is valid, or returns 0 otherwise.

Examples

Check if the database connection conn is valid.

a = isconnection(conn)
a =
     1

See Also

| |

Was this topic helpful?