help-octave
[Top][All Lists]
Advanced

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

Errors in control toolbox demos


From: Raimund Dold
Subject: Errors in control toolbox demos
Date: Sun, 18 Mar 2001 17:02:15 +0100

Hi,

I downloaded and compiled octave-2.1.33 and tried some of the examples and 
got some erros:

- frdemo -> 1 -> 1 and after some returns I get the following error:


zero-pole form:
10 (s - 1)
-----------------
  (s + 1) (s + 5)
 
The bode plot command is identical to the tf form:
Command: bode(sys2);
Press a key to execute command  executing
error: logspace: arguments must be scalars
error: evaluating if command near line 71, column 5
error: evaluating if command near line 68, column 3
error: called from `logspace' in file 
`/home/raimund/Private_Packages/share/octave/2.1.33/m/general/logspace.m'
error: called from `__bodquist__' in file 
`/home/raimund/Private_Packages/share/octave/2.1.33/m/control/base/__bodquist__.m'
error: called from `bode' in file 
`/home/raimund/Private_Packages/share/octave/2.1.33/m/control/base/bode.m'
error: near line 28 of file 
`/home/raimund/Private_Packages/share/octave/2.1.33/m/control/util/run_cmd.m'
error: called from `frdemo' in file 
`/home/raimund/Private_Packages/share/octave/2.1.33/m/control/base/frdemo.m'  
                            
- hinfdemo -> m -> y (plot the step responses) I get the following error:
  FIGURE 2: speed refence => 0, pitch angle ref. => 1
  ===================================================
      y1:  speed                  (should remain 0)
      y2:  pitch                angle (should be 1)
      y3:  thrust      (should be a slow transient)
      y6:  elevator  (should be a faster transient)
 
parse error near line 179 of file 
/home/raimund/Private_Packages/share/octave/2.1.33/m/control/system/c2d.m
 
>>>    elseif(strcmp(opt,"matched"))
            ^
 
error: `c2d' undefined near line 178 column 11
error: evaluating index expression near line 178, column 11
error: evaluating assignment expression near line 178, column 9
error: evaluating if command near line 108, column 3
error: called from `__stepimp__' in file 
`/home/raimund/Private_Packages/share/octave/2.1.33/m/control/base/__stepimp__.m'
error: evaluating switch command near line 67, column 5
error: called from `step' in file 
`/home/raimund/Private_Packages/share/octave/2.1.33/m/control/base/step.m'
error: evaluating switch command near line 150, column 1
error: near line 326 of file 
`/home/raimund/Private_Packages/share/octave/2.1.33/m/control/hinf/hinfdemo.m' 
                                  

Is this the right place to report this errors?

Raimund




-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

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