フィルターのクリア

system('curl www.google.com') doesn't work

5 ビュー (過去 30 日間)
wei
wei 2014 年 4 月 30 日
コメント済み: Matthew Behr 2015 年 2 月 23 日
Hi, everyone. I ran into some trouble when I tried to ran this in matlab 'system('curl www.google.com')'. Matlab prompts: curl: (48) An unknown option was passed in to libcurl
ans =
48
I spent long time on trying to fix it. But nothing seem to work.
I am using Matlab 2014a on a Mac.
Thank you.
  3 件のコメント
Matthew Behr
Matthew Behr 2015 年 2 月 23 日
I am having the same issue also. I can use system('curl -h'). But all other options such as system('curl www.google.com') fail with the same message:
curl: (48) An unknown option was passed in to libcurl
Matthew Behr
Matthew Behr 2015 年 2 月 23 日

サインインしてコメントする。

回答 (2 件)

Walter Roberson
Walter Roberson 2014 年 4 月 30 日
system("curl http://www.google.com")
  3 件のコメント
wei
wei 2014 年 4 月 30 日
yeah sorry, I meant it didn't work with single quote.
wei
wei 2014 年 4 月 30 日
and double quote won't work either.

サインインしてコメントする。


Ray Lee
Ray Lee 2014 年 8 月 11 日
where is your libcurl.so

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by