octave-maintainers
[Top][All Lists]
Advanced

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

Jump from 2.1.65 to 2.9.5


From: Daniel J Sebald
Subject: Jump from 2.1.65 to 2.9.5
Date: Sat, 15 Apr 2006 20:13:56 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020

I've upgraded from 2.1.65 to 2.9.5 and notice a couple things so far:

1) What I used to use in 2.1.65 is:

   [output,status] = system([gnuplot_binary " --version"]);

and I've had to switch that to:

   [status,output] = system([gnuplot_binary " --version"]);

in 2.9.5.  The documentation still reads:

    The `system' function can return two values.  The first is the
    exit status of the command and the second is any output from the
    command that was written to the standard output stream.  For
    example,

         [output, status] = system ("echo foo; exit 2");

    will set the variable `output' to the string `foo', and the
    variable `status' to the integer `2'.


2) In something like sprintf('e\n') the '\n' is interpretted correctly.  
However, in __gnuplot_raw('e\n') the escape character is treated as '\' and 
'n'.  (I assume it was desired to behave that way.)

Dan



reply via email to

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