octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newer Versions of Octave Struggle with Character Strings


From: Doug Stewart
Subject: Re: Newer Versions of Octave Struggle with Character Strings
Date: Tue, 4 Jul 2017 14:46:15 -0400



On Tue, Jul 4, 2017 at 2:23 PM, evansste <address@hidden> wrote:
Thanks, Mike.

You're right.  I tried your tip, and it is reading my .octaverc file!  The
"somevar" variable was recognized.  However, now I don't understand why it's
not obeying the "cd" command in my .octaverc file.

My .octaverc file contains the following lines:

cd /home/evansste/octdir
page_screen_output(0);
page_output_immediately(1);
somevar = 42;

However, when I try to run .m scripts, which are contained in the "octdir"
directory, Octave doesn't recognize them.  If I use the same "cd" command,
by typing it while Octave is running, it changes to the directory, and will
then run my scripts from that directory.  However, for some reason, it
doesn't change to the directory based on the command in the .octaverc file.
Any ideas what may be causing this?





when you start octave type in

pwd

and report back what the result was.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]