how to incorpolate various variables in simbiology model

1 view (last 30 days)
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
Kazutaka Sekiguchi
Kazutaka Sekiguchi on 21 Apr 2020
thank you so much and sorry for late reply
i understand how to export simbiology model to matlab code and feed parameters! I'll try that
Fulden Buyukozturk
Fulden Buyukozturk on 22 Apr 2020
Glad to hear. I'll put the "comment" above to the "answer field" below.

Sign in to comment.

Accepted Answer

Fulden Buyukozturk
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.

More Answers (0)


More Answers in the  SimBiology Community


Find more on Scan Parameter Ranges 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!