![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/285973/image.png)
how to incorpolate various variables in simbiology model
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Kazutaka Sekiguchi
le 19 Avr 2020
Modifié(e) : Fulden Buyukozturk
le 22 Avr 2020
hi, i'm creating the PBPK model which consists of 10 tissues with simbiology GUI
now, i would like to feed drug distribution parameter for each tissues in short time.
my understanding is that such variables should be incorpolated manually one by one as long as using simbiology GUI
is there any way to feed various parameters into simbiology model?
I think that it's the most ideal to export simbiology model to MATLAB code and implement some syntax to feed such variables
Thanks!
4 commentaires
Fulden Buyukozturk
le 22 Avr 2020
Glad to hear. I'll put the "comment" above to the "answer field" below.
Réponse acceptée
Fulden Buyukozturk
le 22 Avr 2020
Modifié(e) : Fulden Buyukozturk
le 22 Avr 2020
Hi Kazutaka,
You can export SimBiology model from GUI to MATLAB workspace and then use a script to add parameters. If you keep the GUI and the project file open, the changes you make through command-line will be reflected in the project in GUI as well.
To export, chose export model to workspace:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/286571/image.png)
For documentation on how to add parameters and programmatic model building in general, please see:
Additionally, if you have multiple parameter values, let's say for different species (human, mouse, etc.), you can store those in model Variants and apply to the model during simulation:
Let me know if this helps.
Fuldend
0 commentaires
Plus de réponses (0)
Communautés
Plus de réponses dans SimBiology Community
Voir également
Catégories
En savoir plus sur Scan Parameter Ranges 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!