help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to copy a file to other directory in octave?


From: Carlo de Falco
Subject: Re: how to copy a file to other directory in octave?
Date: Wed, 13 Sep 2006 11:43:58 +0200

On 9/12/06, frank wang <address@hidden> wrote:

Hi,

Could anyone tell me how to copy a file from one directory to another
directory in octave? Here is what I want to do.

input=sprintf('%s/filename',outdir)
root='root_dir'

in Matlab, I can type

copyfile(input, root_dir)

How could I do this in octave?

Thanks


frank

system(sprintf("cp %s %s",input,root_dir));

c.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]