isconnection

Determine if connections to FRED data servers are valid

Syntax

x = isconnection(Connect)

Arguments

Connect

FRED® connection object created with fred.

Description

x = isconnection(Connect) returns x = 1 if a connection to the FRED data server is valid, and x = 0 otherwise.

Examples

Establish a connection, c, to a FRED data server:

c = fred('http://research.stlouisfed.org/fred2/')

Verify that c is a valid connection:

x = isconnection(c)
x = 1

See Also

| |

Was this topic helpful?