system('curl www.google.com') doesn't work
5 次查看(过去 30 天)
显示 更早的评论
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
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
2015-2-23
Check out this discussion. Has a fix: http://www.mathworks.com/matlabcentral/answers/42381-can-t-execute-curl
回答(2 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!