Database Toolbox Previous page   Next Page
isconnection

Detect if database connection is valid

Syntax

Description

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

Examples

Type

and MATLAB returns

indicating that the database connection conn is valid.

See Also
database, isreadonly, ping


Previous page  insert isdriver Next page

© 1994-2005 The MathWorks, Inc.