changing a variable at specific times
changing a variable at specific times
what's the most efficient way to turn change a variable at a given time? i want to up-regulate a current at a specific time, leave it there for a few milliseconds, and then turn it back down. the best i can come up with is putting a few if statements in the advance block, but it seems like there must be a better way.
-
- Site Admin
- Posts: 6384
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Crude but effective.the best i can come up with is putting a few if statements in the advance block
You bet there is. Seebut it seems like there must be a better way.
How to change parameters during a simulation
under "Hot tips" https://www.neuron.yale.edu/phpBB2/viewforum.php?f=28