Help CenterHelp Center
Close connections to FRED data servers
close(c)
c
FRED® connection object created with fred.
fred
close(c) closes the connection to the FRED data server.
collapse all
Connect to the data server at the URL https://research.stlouisfed.org/fred2/.
https://research.stlouisfed.org/fred2/
c = fred('https://fred.stlouisfed.org/');
Adjust the display data format for currency.
format bank
Retrieve all historical data for the US / Euro Foreign Exchange Rate series.
series = 'DEXUSEU'; d = fetch(c,series);
d contains the series description.
d
Close the FRED® connection.
Introduced in R2006b
Tiene una versión modificada de este ejemplo. ¿Desea abrir este ejemplo con sus modificaciones?
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office