Sun 17 Apr 2016 12:18:55 PM UTC, comment #3:
With Octave-4.0.1 from ftp.gnu.org I get:
...so that works fine AFAICS.
Let's dig further. What is the exact error message you get?
Anyway I suspect you are a bit confused about case-sensitivity nitty-gritty, and about file names and function names in a file.
On Windows, the entire file system is case-insensitive and AFAIK even MinGW/MSYS cannot get around that.
But OTOH Octave's namespace IS case-sensitive. The only way I can get an error is when I call the just-compiled PANDA_SF_2_HF module with:
What happens is that Octave puts an identifier for Octave's namespace in the module and Octave's parser expects the case of that identifier to match the function call exactly, no matter what the file name looks like.
You might try with:
+ verbatim+
>> autoload ("PANDA_SF_2_Hf", which ("PANDA_SF_2_HF"))
>> PANDA_SF_2_Hf
Hello, World!
I have 0 inputs and 0 outputs
-verbatim-
(Hey! now it does work)
(FYI, autoload() instructs Octave to load some function called "foo" (case-sensitive !) from some file called e.g., "bar". See help autoload)
All in all I think you simply mixed up case somewhere.
I'm tempted to close this report with "Works for me", but I'll await your response for a while.
|