我已经从 ubuntu repo 成功安装了 octave 和 octave-control。
但是当我尝试使用它时出现以下错误。
enter octave:2> num = [ 1 2]
num =
1 2
octave:3> den = [ 2 4 6]
den =
2 4 6
octave:4> sys = tf(num,den)
error: tfpoly: /usr/lib/x86_64-linux-gnu/octave/packages/control-2.8.3/x86_64-pc-linux-gnu-api-v50+/is_real_vector.oct: failed to load: /usr/lib/x86_64-linux-gnu/octave/packages/control-2.8.3/x86_64-pc-linux-gnu-api-v50+/is_real_vector.oct: undefined symbol: _ZNK5ArrayISsE17resize_fill_valueEv
error: called from
tfpoly at line 38 column 7
__vec2tfpoly__ at line 32 column 7
tf at line 223 column 1 3
code here