« Return to Thread: which() changed behavior between 3.0 and 3.2

which() changed behavior between 3.0 and 3.2

by sebastien.villemot :: Rate this Message:

Reply to Author | View in Thread

Hi everyone,

Between Octave 3.0 and 3.2, the which() function has changed its
behaviour. More precisely, in 3.2, it no longer accepts script or
function filenames (with the ".m" extension) in argument.


Before:

octave3.0:1> x = which("betacdf.m")
x = /usr/share/octave/3.0.5/m/statistics/distributions/betacdf.m

After:

octave3.2:1> x = which("betacdf.m")
x =


Is this a bug or is it the new expected behaviour?

Note that in MATLAB, which() accepts filenames, like in Octave 3.0.

Best,

--
Sébastien Villemot



_______________________________________________
Bug-octave mailing list
Bug-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave

 « Return to Thread: which() changed behavior between 3.0 and 3.2