Create an arbitrary event function that updates a model variable on every time loop in Simbiology 5.3?
8 views (last 30 days)
Show older comments
Hi, In the Simbiology toolbox I want to know how to update the value of a variable arbitrarily on every time step of a simulation. For example, I would like to simulate the effects of having one of my model components changing as a completely random function of time. For example, every time the solver updates I would like to have a new arbitrary value for one of my model's components- be it a random function of time or sinusoidal function or some other function I define. Thanks!
0 Comments
Answers (1)
Arthur Goldsipe
on 6 Jan 2016
Your question sounds quite similar to another one asked a while back: Fluctuations in SimBiology. See if that thread answers your question sufficiently well. If not, I recommended deleting this one and posting another more-specific question.
0 Comments
Communities
More Answers in the SimBiology Community
See Also
Categories
Find more on Extend Modeling Environment in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!