Hi Guys
I’m newbie in Julia. I’m trying to run some .jl scripts files that I downloaded from Bitbucket. I’m currently using Julia 0.6.4 and Atom 1.29 versions.
I think that the codes haven’t been updated and maybe this is the reason for the error.
TestAircraft.jl is the script,I’m trying to execute and the two other scripts mentioned:
MethodError: no method matching getindex (::Float64, ::Colon)
In anonymous at base/
In macro expansion at TestAircraft.jl:47
In ACDynamics at AircraftDynamics.jl:115
In GenCoeff at Aerodynamics.jl:37
Below there are the lines error mentioned above:
a) TestAircraft.jl
line error 47:
dX = ACDynamics(GTM, x, u, ud, Wind)
b) AircraftDynamics.jl has a function ACDynamics called on TestAircraft.jl
line error 115:
C = GenCoeff(Aircraft, α, β, pt, qt, rt, δₑ, δₐ, δᵣ)
c) Aerodynamics.jl has a function GenCoeff called on Test Aircraft.jl
line error 37
C = [C_D[:];C_E[:];C_L[:];C_l[:];C_m[:];C_n[:];C_X[:];C_Y[:];C_Z[:]]
Can somebody help me to fix these errors. I’m completely lost about what do do.thanks
Marcelo