I am following the modeling toolkit examples, I am copy/pasting from:
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:1
 top-level scope
@ .\boot.jl:373 [inlined]
 include_string(mapexpr::typeof(REPL.softscope), mod::Module, code::String, filename::String)
@ Base .\loading.jl:1196
What version of MTK are you using? Is it the latest version?
I think so. If I add ModelingToolkit again or update it, it says no changes.
That does not guarantee that you have the latest version, you might have another package installed that is holding MTK back from being updated
Thanks - I learned about project environments and deleted and reinstalled. Pretty sure at some point there was a package that needed it to be an earlier version…