Main Content

close

Close connections toFREDdata servers

Syntax

close(c)

Arguments

c

FRED®connection object created withfred.

Description

close(c)closes the connection to the FRED data server.

Examples

collapse all

连接到数据服务器the URLhttps://research.stlouisfed.org/fred2/.

c = fred('https://fred.stlouisfed.org/');

Adjust the display data format for currency.

formatbank

Retrieve all historical data for the US / Euro Foreign Exchange Rate series.

series ='DEXUSEU'; d = fetch(c,series);

dcontains the series description.

Close the FRED® connection.

close(c)

Version History

Introduced in R2006b