How can I change the compartment, species and parameter through variants?

조회 수: 1 (최근 30일)
HI, I am trying to learn about the Generic SimBiology PBPK model provided by MathWorks SimBiology Team in File Exchange. In this model, Human fasted, Human fed and Rat physiologies are included as variants. I want to change the compartment capacities, species initialamounts and parameters contain in the Rat variant. But nothing change when I click the Active column of Rat variant, and the model elements are still the Human which is default. How can I change the compartment, species and parameter through variants? Thank in advance.

채택된 답변

Fulden Buyukozturk
Fulden Buyukozturk 2021년 8월 13일
Hi, if you choose Initial Coniditions on the home tab of Model Builder, you will see that the values on the Initial Contitions column in the Browser for quantities reflect the ones that of the active variant. Please see the screenshot below and let me know if you have further questions.
  댓글 수: 2
Arthur Goldsipe
Arthur Goldsipe 2021년 8월 13일
I wanted to add a few more details to Fulden's answer. We commonly use variants to apply a temporary change to a model for the duration of a simulation. But if you no longer care about the values on the model and want to permanently replace them with the values in a variant, you can also do that. To permanenly change your model values to match the ones in the variant, right-click on the name of the variant and select "Commit."
蓝戈 张
蓝戈 张 2021년 8월 14일
Thank you very much for the explicit answers, I have seen the active variant's values on the Initial Contitions column. And I do hope permanenly change my model values to match the ones in the variant, but I didn't find "Commit" option when I right-click on the name of the variant. Can you give more details about this question?Thanks a lot.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

커뮤니티

더 많은 답변 보기:  SimBiology Community

카테고리

Help CenterFile Exchange에서 Extend Modeling Environment에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by