shell command executed with "unix" fails in 2021a but works in 2017a
2 views (last 30 days)
Show older comments
To download weather forcast files in grib format from NOAA I build a query like this:
unixstr = '/usr/bin/curl -k https://nomads.ncep.noaa.gov/pub/data/nccf/com/nam/prod/nam.20210831/nam.t00z.awip1200.tm00.grib2 --output nam.t00z.awip1200.tm00.grib2'
and run it with ...
unixstr(unixstr)
With version R2017a it works fine. With version 2021a I get an error:
curl: (48) An unknown option was passed in to libcurl
The status returned is 48.
Executing with ! or system it still fails.
Any suggestions on what is the problem, and what is the workaround?
3 Comments
Answers (0)
See Also
Categories
Find more on Downloads in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!