I am new to Julia and trying to learn ModelingToolkit. I have looked at the tutorials and they are bit simpler than the use case I have: I would like to implement coupled ODEs for a firing rate-based neuronal network model.

Here’s a minimal example of an equation I’d like to implement.

dx/dt = (1-x) * E - x * (W*E)

Where x and E are vectors and W is a connectivity or adjacency matrix. (I keep getting an error when I upload an image to show an example of the equations.)