Simbiology: definining multiple parameters from output of single function
Afficher commentaires plus anciens
I have a function which will calculate the values for multiple parameters within my model in Simbiology. I know I can define a rule that calls functions with a single output and use this to define a parameter value, however I don't know how to do this for multiple parameters.
In Matlab it could be accomplished by:
[par1,par2,par3]=function(a,b,c), where a,b,c are inputs for the function.
However as Simbiology does not allow vectors as parameters this will not work. Alternatively if there was some way to retrieve (say) the 3rd output from the function this would be enough, e.g. par3=function(a,b,c){3}, however as far as I am aware this is not possible.
Any help appreciated.
Thanks
Réponse acceptée
Plus de réponses (0)
Communautés
Plus de réponses dans SimBiology Community
Catégories
En savoir plus sur Extend Modeling Environment dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!