[scilab-Users] using wget in scilab

Mathieu Dubois mathieu.dubois at limsi.fr
Fri Jun 24 21:57:48 CEST 2011


Hello,

Le 24/06/2011 19:33, Calixte Denizet a écrit :
> Hi,
>
> Le vendredi 24 juin 2011 à 10:22 -0700, lukeaarond a écrit :
>> I have been trying to execute wget in scilab, but am having no luck. Here is
>> my code:
>>
>> unix('wget -O findme.txt http://www.ncbi.nlm.nih.gov/nuccore/NM_000419')
>>
>
> I just tryed in 5.3.2:
> mydir='/tmp';cd(mydir);unix('wget -O findme.txt
> http://www.ncbi.nlm.nih.gov/nuccore/NM_000419');find(ls(mydir)=='findme.txt')
>
> and that works.

It works for me too (with your command, not Calixte's one)!

Stupid question: does the command
wget -O findme.txt http://www.ncbi.nlm.nih.gov/nuccore/NM_000419
works in a shell?

Second stupid question: did you tried with host instead of unix?

If you start scilab from a shell, you will see the output of the command 
in the shell when using unix. Maybe that will help....

Mathieu

>
> Regards,
>
> Calixte
>
>> Nowhere in my current directory is findme.txt. Even when I do a search of my
>> computer for 'findme' nothing is found. Also, no error messages are even
>> displayed when running this code. Any suggestions? Thank you in advance.
>>
>> --
>> View this message in context: http://mailinglists.scilab.org/using-wget-in-scilab-tp3105289p3105289.html
>> Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
>
>



More information about the users mailing list