how to incorpolate various variables in simbiology model
2 views (last 30 days)
Show older comments
Kazutaka Sekiguchi
on 19 Apr 2020
Edited: Fulden Buyukozturk
on 22 Apr 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 Comments
Fulden Buyukozturk
on 22 Apr 2020
Glad to hear. I'll put the "comment" above to the "answer field" below.
Accepted Answer
Fulden Buyukozturk
on 22 Apr 2020
Edited: Fulden Buyukozturk
on 22 Apr 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:
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 Comments
More Answers (0)
Communities
More Answers in the SimBiology Community
See Also
Categories
Find more on Import Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!