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

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!

回答(1 个)

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.

社区

更多回答在  SimBiology Community

类别

帮助中心File Exchange 中查找有关 Extend Modeling Environment 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by