Unable to add an event block to a reaction rate in SimBiology
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jacopo Biasetti
le 25 Mar 2020
Commenté : Sietse Braakman
le 25 Mar 2020
I'm unable to add an event block to a reaction rate block (ke) in SimBiology diagram view (taken from the help page "Model Views in SimBiology App") - please see attached file. When I connect the two blocks the event block for the reaction rate block is still undefined.
0 commentaires
Réponse acceptée
Sietse Braakman
le 25 Mar 2020
Hi Jacopo,
The parameter you are adding the event function to, ke, is currently "reaction-scoped". If you change the scope of your parameter ke to be "model-scoped" you will be able to add the event function to ke. Note that you will have to change your EventFunction to from reaction2.ke = ... to ke = ....
This behavior is rooted in SBML standards but it would be helpful for us to understand why you want ke to be reaction-scped as opposed to model-scoped. Is there a particular reason why you want ke to be reaction-scoped?
Let me know if that helps.
Best,
Sietse
2 commentaires
Sietse Braakman
le 25 Mar 2020
If you right-click on the parameter in the browser, you can 'Change Scope', see the screenshot betlow.
Plus de réponses (0)
Communautés
Plus de réponses dans SimBiology Community
Voir également
Catégories
En savoir plus sur Extend Modeling Environment dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!