fred.isconnection - Verify whether connections to FRED data servers are valid

Syntax

x = isconnection(Connect)

Arguments

Connect

FRED connection object created with the fred function.

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

fred.close, fred.fetch, fred.get

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS