What you think is wrong with the following script?

2 views (last 30 days)
mw = ftp('ftpprd.ncep.noaa.gov');
details = dir(mw,[data_path 'enp.t*.grib2']);
tz=zeros(length(details));
for num=1:length(details)
tz(num) = str2double(details(num).name(6:7));
end
tz=sort(tz,'descend');
I have used on the past but now is not working.
PS. I have access directly to the ftp: ftpprd.ncep.noaa.gov.
Thank you.
  1 Comment
Guillaume
Guillaume on 12 Mar 2015
now is not working
Nor is my crystal ball today. What does is not working mean? Do you get an error message? If so, which one? Do you get a different output than you expected? If so, what do you get and what did you expect?

Sign in to comment.

Answers (0)

Categories

Find more on Crystals in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!