Simbiology Desktop Activate Reaction Using Event
1 次查看(过去 30 天)
显示 更早的评论
I am trying to use an event function in simbiology desktop to activate a reaction that exists in the same component. Is this possible and if so, what is the syntax?
Thanks,
Hirsh
0 个评论
采纳的回答
Arthur Goldsipe
2016-6-17
Hi,
Events cannot directly change the Active property. However, you can accomplish the same simulation result by creating an event that changes the value of a parameter. For example, you could set a rate constant to 0 using an event as a way to disable a reaction.
Does that make sense?
-Arthur
3 个评论
Arthur Goldsipe
2016-6-18
Ah, 2 important details. First, you need to make sure the reaction is scoped to the model. In the desktop, you can right-click to get the option to change the scope. Second, you'll need to uncheck the Constant option. Then, you can change the value using an event.
更多回答(1 个)
社区
更多回答在 SimBiology Community
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Import Data 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!