Is there a listing of functions (such as 'trapz') to use in SimBiology explorer?

2 views (last 30 days)
I am looking to generate some standard PK parameters from the simulation runs (AUC, Tmax, Cmax etc).
Is there a listing of functions somewhere that I can incorporate into the explorer such as 'trapz'?

Accepted Answer

Sietse Braakman
Sietse Braakman on 26 Sep 2019
Hi Andrew,
You could use the following:
Cmax: max(Central.Drug_Central)
Tmax: time(Central.Drug_Central == max(Central.Drug_Central))
Tend: time(end)
AUC0-last: trapz(time,Central.Drug_Central)
Other quantities (half-life, C0, AUC0-inf, CL etc) require extrapolation and regressions, which is what sbionca takes care of for you. More definitions of the NCA parameters are here.
You could also turn your simulation results into a table and pass that onto sbionca. This is somewhat easier said then done. I have some code that you download here, see the function 'CreateTableSimdata' in the NCA folder of the download.
Let me know if you have further questions.
Best,
Sietse
  1 Comment
Andrew Heitman
Andrew Heitman on 27 Sep 2019
This looks great. Is it possible to build the data table creation and sbionca command into a custom task?

Sign in to comment.

More Answers (0)

Communities

More Answers in the  SimBiology Community

Categories

Find more on Biotech and Pharmaceutical 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!