Skip to content

Can't run sam_tutorial.jl or pulleys.jl, neither when adding to menu.jl #46

@jellepoland

Description

@jellepoland

I added these like

options = [
        "ram_air_kite = SIMPLE=false; include(\"ram_air_kite.jl\")",
        "simple_ram_air_kite = SIMPLE=true; include(\"ram_air_kite.jl\")",
        "lin_ram_model = include(\"lin_ram_model.jl\")",
        "simple_lin_model = include(\"simple_lin_model.jl\")",
        "pulley = include(\"pulley.jl\")",
        "sam = include(\"sam_tutorial.jl\")",
        "quit"
]

terminal output:

ulia> include("examples/menu.jl")

Choose function to execute or `q` to quit: 
   ram_air_kite = SIMPLE=false; include("ram_air_kite.jl")
   simple_ram_air_kite = SIMPLE=true; include("ram_air_kite.jl")
   lin_ram_model = include("lin_ram_model.jl")
   simple_lin_model = include("simple_lin_model.jl")
   pulley = include("pulley.jl")
 > sam = include("sam_tutorial.jl")
   quit
ERROR: LoadError: UndefVarError: `Settings` not defined in `Main`
Suggestion: check for spelling errors or missing imports.
Hint: a global variable of this name may be made accessible by importing KiteUtils in the current active module Main
Hint: a global variable of this name may be made accessible by importing WinchModels in the current active module Main
Stacktrace:
 [1] top-level scope
   @ ~/ownCloud/phd/code/learning_julia/SymbolicAWEModels.jl/examples/sam_tutorial.jl:6
in expression starting at /home/jellepoland/ownCloud/phd/code/learning_julia/SymbolicAWEModels.jl/examples/sam_tutorial.jl:6
in expression starting at /home/jellepoland/ownCloud/phd/code/learning_julia/SymbolicAWEModels.jl/examples/menu.jl:30

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions