Effacer les filtres
Effacer les filtres

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

5 vues (au cours des 30 derniers jours)
wei
wei le 30 Avr 2014
Commenté : Matthew Behr le 23 Fév 2015
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 commentaires
Matthew Behr
Matthew Behr le 23 Fév 2015
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 le 23 Fév 2015

Connectez-vous pour commenter.

Réponses (2)

Walter Roberson
Walter Roberson le 30 Avr 2014
system("curl http://www.google.com")
  3 commentaires
wei
wei le 30 Avr 2014
yeah sorry, I meant it didn't work with single quote.
wei
wei le 30 Avr 2014
and double quote won't work either.

Connectez-vous pour commenter.


Ray Lee
Ray Lee le 11 Août 2014
where is your libcurl.so

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by