I use Julia v. 1.2 on 64bit Windows 10, v. v0.5.3 of package ControlSystems.
Consider the following simple system – is there anything wrong in what I do?:
julia> using ControlSystems
julia> A = [-1. -2.; 0 -2]; B=[2.; 1]; C=[1. 0]; D=0.0;
julia> sys=ss(A,B,C,D)
StateSpace{Float64,Array{Float64,2}}
A =
-1.0 -2.0
0.0 -2.0
B =
2.0
1.0
C =
1.0 0.0
D =
0.0
Continuous-time state-space model
julia> tf(sys)
TransferFunction{ControlSystems.SisoRational{Float64}}
Error showing value of type TransferFunction{ControlSystems.SisoRational{Float64}}:
ERROR: MethodError: no method matching printsign(::Base.GenericIOBuffer{Array{UInt8,1}}, ::Float64, ::Int64, ::Bool, ::MIME{Symbol("text/plain")})
Closest candidates are:
printsign(::IO, ::T, ::Any, ::Any) where T at C:\Users\user_name\.julia\packages\Polynomials\i0ynH\src\show.jl:126
Stacktrace:
[1] showterm2(::Base.GenericIOBuffer{Array{UInt8,1}}, ::Polynomials.Poly{Float64}, ::Int64, ::Bool, ::Symbol, ::MIME{Symbol("text/plain")}) at C:\Users\user_name\.julia\packages\ControlSystems\pipUm\src\types\SisoTfTypes\polyprint.jl:34
[2] printpoly2(::Base.GenericIOBuffer{Array{UInt8,1}}, ::Polynomials.Poly{Float64}, ::Symbol, ::MIME{Symbol("text/plain")}) at C:\Users\user_name\.julia\packages\ControlSystems\pipUm\src\types\SisoTfTypes\polyprint.jl:19
[3] printpolydesc at C:\Users\user_name\.julia\packages\ControlSystems\pipUm\src\types\SisoTfTypes\polyprint.jl:9 [inlined]
[4] #7 at C:\Users\user_name\.julia\packages\ControlSystems\pipUm\src\types\SisoTfTypes\polyprint.jl:2 [inlined] (repeats 2 times)
[5] #sprint#342(::Nothing, ::Int64, ::typeof(sprint), ::Function, ::Polynomials.Poly{Float64}) at .\strings\io.jl:107
[6] sprint at .\strings\io.jl:103 [inlined]
[7] print_siso(::IOContext{REPL.Terminals.TTYTerminal}, ::ControlSystems.SisoRational{Float64}, ::Symbol) at C:\Users\user_name\.julia\packages\ControlSystems\pipUm\src\types\SisoTfTypes\SisoRational.jl:47
[8] show(::IOContext{REPL.Terminals.TTYTerminal}, ::TransferFunction{ControlSystems.SisoRational{Float64}}) at C:\Users\user_name\.julia\packages\ControlSystems\pipUm\src\types\TransferFunction.jl:191
[9] show(::IOContext{REPL.Terminals.TTYTerminal}, ::MIME{Symbol("text/plain")}, ::TransferFunction{ControlSystems.SisoRational{Float64}}) at .\multimedia.jl:47
[10] display(::REPL.REPLDisplay, ::MIME{Symbol("text/plain")}, ::Any) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\REPL\src\REPL.jl:132
[11] display(::REPL.REPLDisplay, ::Any) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\REPL\src\REPL.jl:136
[12] display(::Any) at .\multimedia.jl:323
[13] #invokelatest#1 at .\essentials.jl:790 [inlined]
[14] invokelatest at .\essentials.jl:789 [inlined]
[15] print_response(::IO, ::Any, ::Bool, ::Bool, ::Any) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\REPL\src\REPL.jl:156
[16] print_response(::REPL.AbstractREPL, ::Any, ::Bool, ::Bool) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\REPL\src\REPL.jl:141
[17] (::getfield(REPL, Symbol("#do_respond#38")){Bool,getfield(REPL, Symbol("##48#57")){REPL.LineEditREPL,REPL.REPLHistoryProvider},REPL.LineEditREPL,REPL.LineEdit.Prompt})(::Any, ::Any, ::Any) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\REPL\src\REPL.jl:718
[18] #invokelatest#1 at .\essentials.jl:790 [inlined]
[19] invokelatest at .\essentials.jl:789 [inlined]
[20] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\REPL\src\LineEdit.jl:2306
[21] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\REPL\src\REPL.jl:1038
[22] run_repl(::REPL.AbstractREPL, ::Any) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\REPL\src\REPL.jl:201
[23] (::getfield(Base, Symbol("##737#739")){Bool,Bool,Bool,Bool})(::Module) at .\client.jl:390
[24] #invokelatest#1 at .\essentials.jl:790 [inlined]
[25] invokelatest at .\essentials.jl:789 [inlined]
[26] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at .\client.jl:374
[27] exec_options(::Base.JLOptions) at .\client.