shell command executed with "unix" fails in 2021a but works in 2017a
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Downloads についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!