help-octave
[Top][All Lists]
Advanced

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

Re: Trouble installing control toolbox


From: Michael Noone
Subject: Re: Trouble installing control toolbox
Date: Thu, 13 Dec 2012 16:21:41 -0800

Thanks Alexander - it looks like I don't have tf2sys. Maybe that's been made antiquated? Either way, I tired another route, and got yet another error message! Any ideas on the below error? This isn't going well for me! :)

octave:2> pkg load control
octave:3> pkg describe control
---
Package name:
        control
Version:
        2.3.52
Short description:
        Octave control systems package based on the proven SLICOT library
Status:
        Loaded
octave:4> A = tf(1, [1 2 3])

Transfer function 'A' from input 'u1' to output ...

            1
 y1:  -------------
      s^2 + 2 s + 3

Continuous-time model.
octave:5> bode(A)
error: popen2: popen2 (child): unable to start process -- No such file or directory
error: called from:
error:   /usr/share/octave/3.6.2/m/plot/private/__gnuplot_open_stream__.m at line 30, column 44
error:   /usr/share/octave/3.6.2/m/plot/__gnuplot_drawnow__.m at line 72, column 19
/bin/sh: gnuplot: command not found
error: `unset' undefined near line 6 column 1
warning: broken pipe -- some output may be lost


On Thu, Dec 13, 2012 at 4:05 PM, Alexander Hansen <address@hidden> wrote:
On 12/13/12 4:54 PM, Michael Noone wrote:
> Thanks Marco! I tried doing as you suggested, but am still having troubles.
>
> See below:
>
> octave:11> pkg load control
> octave:12> pkg describe control
> ---
> Package name:
>         control
> Version:
>         2.3.52
> Short description:
>         Octave control systems package based on the proven SLICOT library
> Status:
>         Loaded
> octave:13> L = tf2sys(3e4 * [0.0025 0.1 1], [0.01 1.03 3.03 3.01 1]);
> error: `tf2sys' undefined near line 13 column 5
> octave:13>
>
> This line is stolen from this page:
> http://web.mit.edu/6.302/www/compare/report.html
>
> Any ideas what I'm doing wrong now?
>
>

You can use

        pkg describe -verbose control

to check what functions come with the particular version of the control
package you installed.

--
Alex


reply via email to

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