|
From: | Theresa Meuse |
Subject: | RE: RE: RE: 2.9.9+ for Windows |
Date: | Fri, 16 Mar 2007 18:43:52 -0400 |
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'); Matlab: status = 1 mypath2 exists Octave, scripted: Cannot perform a cyclic copy status = 1 mypath2 does not exist Octave, manually: Status = 0, msg = ‘Does
mypath1 specify a file name Or a directory name on the target (F = file, D = directory)?’ msgID = 2.) RMDIR does not work. Example: [status, msg, msgID] = rmdir('myoutsav','s'); Matlab: status = 1 myoutsav deleted Octave, scripted: status = 0 myoutsav not deleted echo: Access is denied Octave, manually: Echo: remove entire contents of myoutsav? (yes or no) msg = Permission
denied 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.) Matlab: Result: myfile1.bin myfile2.bin Octave: Result: warning: dir: nonexistent file
‘mdirectory\myfile*.bin’ Regards, Theresa Theresa Meuse MIT (781) 981-4066 |
[Prev in Thread] | Current Thread | [Next in Thread] |