octave-maintainers
[Top][All Lists]
Advanced

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

Re: 2.9.9+ for Windows


From: Michael Goffioul
Subject: Re: 2.9.9+ for Windows
Date: Sat, 17 Mar 2007 09:20:25 +0100
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)



Theresa Meuse a écrit :

Hi, I found minor differences between Octave 2.9.9+ and Matlab R2006b, all having to do with file access, mostly relating to file permissions (even when these permissions are manually corrected via Internet Explorer ahead of their execution).

1.) COPYFILE does not work. In addition it incorrectly returns a status flag of 1 (successful) even though the copy failed.

Example: [status, msg, msgID] = copyfile(mypath1, mypath2, 'f');


COPYFILE is poorly implemented under Windows, because it relies on the shell command "xcopy", which does not support as much features as "cp" under UNIX. No real solution
for the moment.

2.) RMDIR does not work. Example:

[status, msg, msgID] = rmdir('myoutsav','s');


There was a bug in the directory removal process. It is already fixed in CVS.

3.) DIR cannot be used with a wildcard. Example: dir(‘mydirectory\myfile*.bin’) (Note that GLOB or READDIR cannot alternatively be used as they only exist in Octave.)


The "glob" implementation included in octave/windows only supports forward
slashes (as the gnulib version). The simple workaround is to use them; this is
compatible with Matlab.

dir('mydirectory/myfile*.bin')

Michael.




reply via email to

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