LoadError: UndefVarError: model not defined

When trying to run the example schoolyard.jl from Agents.jl I have this problem in the last line:

fig, _, _ = abm_data_exploration(model, agent_step!, dummystep, sliders; static_preplot!)

Try model = schoolyard()

I did that in the REPL, forgot to put it in the file for you to follow sorry.

1 Like