TissuePartition Function Inclusion into SimBiology PBPK

2 ビュー (過去 30 日間)
Andrew Heitman
Andrew Heitman 2019 年 5 月 16 日
回答済み: Sietse Braakman 2019 年 5 月 16 日
I am trying to incorporate the functions described here:
In particular the tissue partition coefficients - how do I load that matlab code?

採用された回答

Sietse Braakman
Sietse Braakman 2019 年 5 月 16 日
Hi Andrew,
Are you trying to pull out the values of the partition coefficients or the model equations?
In general, SimBiology models are objects (as in object-oriented programming), rather than MATLAB code. As such, you can create MATLAB code to construct a SimBiology model object, but you can't extract MATLAB code from the SimBiology model. What you can do is get the equations or model parameter values from the SimBiology object.
In order to load the model you refer to in your post, you can either open the SimBiology App by typing in the command line:
simbiology
and then clicking on 'Open' and navigating to the folder where the model is.
If you want to load the model object in MATLAB, rather than in the SimBiology App, you can use the function sbioloadproject.
model = sbioloadproject('PBPK.sbproj');
parameters = model.Parameters % shows you all parameters, their model values and units (if present)
equations = getequations(model) % retrieves the equations from the model
Note that the PBPK model relies on a two functions (calculateParacellularAbsorptions.m and calculateTissuePartition.m) that need to be on your MATLAB path or in your current folder in order for the PBPK model to simulate without errors.
I hope that helps.

その他の回答 (0 件)

コミュニティ

その他の回答  SimBiology コミュニティ

カテゴリ

Help Center および File ExchangeQSP, PKPD, and Systems Biology についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by