Reputation: 343
I am desperately trying to run octave in a VirtualBox of Ubuntu 12.04. I have made a file called ANGRY.m which has lines as follows:
%How badly does octave suck?
OCTAVESUCKS=5
That is it. When I try to run it (i.e. enter ANGRY into the command line I get this error message:
error: `ANRGY' undefined near line 1 column 1
I've had things running better than this in octave and have absolutely no clue why it is doing this or how to fix it or how to go about trying to search for what is wrong. I am sorry I cannot be more helpful. But I really can't. Please aim any answer at a total moron. I'm really not a programmer.
Upvotes: -1
Views: 1157
Reputation: 1
I solved this problem with File-SetPath
, and moving my path to the top of the list.
Upvotes: 0
Reputation: 8091
Do you see your file ANGRY.m when you type
ls
in Octave? Check the working dir with "pwd"!
Upvotes: 0