help-octave
[Top][All Lists]
Advanced

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

RE: Running dos command in octave (win32 version)


From: Hall, Benjamin
Subject: RE: Running dos command in octave (win32 version)
Date: Mon, 26 Jul 2004 09:27:18 -0400

You could also use the Octave function "unlink" to remove the file

-----Original Message-----
From: David Bateman [mailto:address@hidden
Sent: Monday, July 26, 2004 9:16 AM
To: Ciotti, Louis A 
Cc: address@hidden
Subject: Re: Running dos command in octave (win32 version)


According to Ciotti, Louis A  <address@hidden> (on 07/26/04):
> I am trying to run some dos commands within octave, and I cannot seem to
> get them work.  Basically I want to delete some files and run a batch
> file.
> 
> To delete the files I have tried:
> 
> System("del myfile.ext")
> 
> Which gives:
> 
> del: not found
> ans = 127
> 
> What am I doing wrong?


On Windows, octave runs under Cygwin which is basically a
reimplementation of Unix under Windows.  If you tried

system("rm myfile.ext")

you might have had a different result....

Cheers
David

-- 
David Bateman                                address@hidden
Motorola CRM                                 +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 1 69 35 77 01 (Fax) 
91193 Gif-Sur-Yvette FRANCE

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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