[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ss2sys not being updated?
From: |
A S Hodel |
Subject: |
Re: ss2sys not being updated? |
Date: |
Thu, 25 Mar 2004 13:19:53 -0600 |
Use cell arrays instead; I recently updated the controls toolbox to use
cell arrays instead
of lists because, as the warning says, lists are deprecated.
With the current CVS sources, here's what I get:
octave:4> sys = ss2sys(a,b,c,[],0,3,0,list("volts","amps","joules"));
warning: list objects are deprecated; use cell arrays instead
warning: ss2sys is deprecated. Use ss() instead.
error: invalid: a is 1x1, n=3, nz=0
error: evaluating if command near line 240, column 3
error: called from `ss' in file
`/usr/local/share/octave/2.1.55/m/control/system/ss.m'
error: evaluating assignment expression near line 189, column 10
error: called from `ss2sys' in file
`/usr/local/share/octave/2.1.55/m/control/system/ss2sys.m'
error: evaluating assignment expression near line 4, column 5
That should be what you get with 2.1.57.
On Thursday, March 25, 2004, at 08:21 AM, Joseph C. Slater wrote:
I just tried to use ss2sys and got the following:
sys = ss2sys(a,b,c,[],0,3,0,list("volts","amps","joules"));
warning: list objects are deprecated; use cell arrays instead
panic: Bus error -- stopping myself...
attempting to save variables to `octave-core'...
warning: save: wrong type argument `list'
error: save: error while writing `stname' to MAT file
save to `octave-core' complete
Bus error
Is anybody else having this problem? Is this an 'expected' issue
because it hasn't been updated to stay compatible? Is there a fix?
Thanks,
Joe
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
(+1) 937-775-5085
http://www.cs.wright.edu/~jslater
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
A. S. Hodel Dept. ECE, 200 Broun Hall, Auburn University AL 36849-5201
(334) 844-1854/fax(334) 844-1809,
http://www.eng.auburn.edu/users/hodelas , address@hidden
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
Re: ss2sys not being updated?,
A S Hodel <=