help-octave
[Top][All Lists]
Advanced

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

Re: warning message in Octave-3.2.4


From: Jonathan Hill
Subject: Re: warning message in Octave-3.2.4
Date: Thu, 17 Feb 2011 18:46:33 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7

With Windows Octave 3.2.4 there is an issue with the plot command
that is easy to fix that may resolve this.  I was seeing such a warning
and after fixing plot, I no longer see that warning. 

Inside Octave enter the following command (without quotes)
"pkg rebuild -noauto oct2mat"

Then restart Octave.  You should only have to do this once.

'Best;
Jonathan

On 2/17/2011 10:54 AM, Hutchins, David J wrote:

 

I just installed Octave-3.2.4 on a Windows server 2003 x64 server, however when running the examples from 1.2.5 I get the warning:

warning: isstr is obsolete and will be removed from a future version of Octave,

please use ischar instead

 

Is this normal?

 

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 <address@hidden> (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'.

 

warning: mark_as_command is obsolete and will be removed from a future version of Octave

 

octave-3.2.4.exe:1> function xdot = f (x,t)

> r= 0.25;

> k= 1.4;

> a= 1.5;

> b = 0.16;

> c = 0.9;

> d = 0.8;

> xdot(1) = r*x(1)*(1 - x(1)/k) - a*x(1)*x(2)/(1 +b*x(1));

> xdot(2)= c*a*x(1)*x(2)/(1+b*x(1)) - d*x(2);

> endfunction

octave-3.2.4.exe:2> x0 = [1;2];

octave-3.2.4.exe:3> t = linspace (0,50,200)';

octave-3.2.4.exe:4> x = lsode ("f", x0, t);

octave-3.2.4.exe:5> plot (t, x);

warning: isstr is obsolete and will be removed from a future version of Octave,

please use ischar instead

octave-3.2.4.exe:6>

 

Thanks, Dave

_______________________________________________ Help-octave mailing list address@hidden https://mailman.cae.wisc.edu/listinfo/help-octave


reply via email to

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