Thu 30 Sep 2010 11:43:22 AM UTC, original submission:
I am using the mingw32 build of octave 3.2.4. I was having trouble using imread, and while debugging I noticed that file_in_path fails to find files that are in the current directory if the path starts with dot. If I add another dot in the path, the files are found. In the Ubuntu build of octave 3.2 I don't observe this problem, so this could be specific to the mingw build.
Here is an example:
C:\>ver
Microsoft Windows XP [Version 5.1.2600]
C:\>octave
GNU Octave, version 3.2.4
Copyright (C) 2009 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Octave was configured for "i686-pc-mingw32".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
Report bugs to <bug@octave.org> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).
For information about changes from previous versions, type `news'.
octave:1> file_in_path(".", "autoexec.bat")
ans = [](0x0)
octave:2> file_in_path(".;.", "autoexec.bat")
ans = .\autoexec.bat
|