sudden problem with 'fetch' and FRED database

4 visualizzazioni (ultimi 30 giorni)
pikachu
pikachu il 4 Lug 2015
Commentato: Alistair il 7 Lug 2015
Hi, I haven't had problems using the Datafeed Toolbox and the 'fetch' command to retrieve FRED data until now. This is the error I get:
>> d = fetch(fred,'GDPC96') Index exceeds matrix dimensions.
Error in fred/fetch (line 94) d.Data = [datenum(str2num(tmp(:,1:4)),str2num(tmp(:,6:7)),str2num(tmp(:,9:10))) str2num(tmp(:,11:end))]; %#ok
Would appreciate any suggestions or comments. Thank you so much.
  2 Commenti
pikachu
pikachu il 5 Lug 2015
It's temperamental if you use the default url. It works if you change the url to 'https':
connect = fred('https://research.stlouisfed.org/fred2/'); d = fetch(connect,'GDPC96');
Alistair
Alistair il 7 Lug 2015
I am not able to connect to this URL. I just get the following message. Can anyone else get data from FRED? Error using fred (line 55) Unable to connect to given URL.

Accedi per commentare.

Risposte (0)

Tag

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by