필터 지우기
필터 지우기

Computed parameter in Simbiology

조회 수: 2 (최근 30일)
Rajeev Kumar
Rajeev Kumar 2019년 7월 22일
편집: Florian Augustin 2019년 7월 22일
I need a computed parameter in Simbiology model. So I defined a parameter param1=param2/param3 using the rule (repeated assignment). I defined param2=10 and param3 as 5. When I accessed the parameter value using sbioselect(m1, 'Type','Parameters') I get param1=1. How to know the what value of param1 is going into simulations. Is there any other way to define the computed parameter in Simbiology ? How to know what value is being usedin the simulation for computed parameters.

채택된 답변

Florian Augustin
Florian Augustin 2019년 7월 22일
편집: Florian Augustin 2019년 7월 22일
Hi Rajeev,
You could call the function getequations on your model, getequations(m1). This gives you a printout of the values. If you simulate the model, then you could also log param1 to see its value changing over time; this may be of interest, if param2 and param3 are not constant. If param2 and param3 are just constants, then you could also use an initial assignment rule.
-Florian

추가 답변 (0개)

커뮤니티

더 많은 답변 보기:  SimBiology Community

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by