fileparts / fullfile inconsistency

Søren Hauberg soren at hauberg.org
Fri Oct 3 09:31:48 CDT 2008


fre, 03 10 2008 kl. 16:25 +0200, skrev Francesco Potorti`:
> octave> [a b c]=fileparts("/file.ext"), fullfile(a,[b c])
> a = 
> b = file
> c = .ext
> ans = file.ext

Matlab sets a = '/' here, which I guess makes sense. So, I'd say this is a bug in Octave.

Søren



More information about the Bug-octave mailing list