Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

isconnection

Determine if connections to FRED data servers are valid

Syntax

x = isconnection(c)

Arguments

c

FRED® connection object created with fred.

Description

x = isconnection(c) 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('https://research.stlouisfed.org/fred2/')

Verify that c is a valid connection.

x = isconnection(c)
x = 1

Related Examples

See Also

| |

Was this topic helpful?