Create an arbitrary event function that updates a model variable on every time loop in Simbiology 5.3?

8 views (last 30 days)
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!

Answers (1)

Arthur Goldsipe
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.

Communities

More Answers in the  SimBiology Community

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!