Reporting a problem with the function ctrb (running version 0.9.0 of the ControlSystems package, julia version 1.5.3, on Mac OS Catalina 10.15.7).
When I pass the system as parameter, there is no problem executing the function. When I pass the matrices A and B as parameters I get the following error message
julia> ctrb(A,B)
ERROR: MethodError: no method matching ctrb(::Array{Float64,2}, ::Array{Float64,1})
Closest candidates are:
ctrb(::AbstractArray{T,2} where T, ::AbstractArray{T,2} where T) at
~/.julia/packages/ControlSystems/lhpZ5/src/matrix_comps.jl:132
Simple code example to reproduce the error:
using ControlSystems
A = [0.3 0; 0.1 -5]
B = [0; 1]
C = [1 1]
D = 0
sys_ss = ss(A, B, C, D)
ctrb(sys_ss)
ctrb(A, B)