I am following the modeling toolkit examples, I am copy/pasting from:
https://mtk.sciml.ai/stable/tutorials/ode_modeling/
but @named is not working. Does anyone know why?
@named fol = ODESystem([ D(x) ~ (1 - x)/τ])
LoadError: UndefVarError: @named not defined
in expression starting at In[5]:1
Stacktrace:
[1] top-level scope
@ :0
[2] eval
@ .\boot.jl:373 [inlined]
[3] include_string(mapexpr::typeof(REPL.softscope), mod::Module, code::String, filename::String)
@ Base .\loading.jl:1196