필터 지우기
필터 지우기

Simbiology Desktop Activate Reaction Using Event

조회 수: 1 (최근 30일)
Hirsh Agarwal
Hirsh Agarwal 2016년 6월 17일
댓글: Hirsh Agarwal 2016년 6월 18일
I am trying to use an event function in simbiology desktop to activate a reaction that exists in the same component. Is this possible and if so, what is the syntax?
Thanks,
Hirsh

채택된 답변

Arthur Goldsipe
Arthur Goldsipe 2016년 6월 17일
Hi,
Events cannot directly change the Active property. However, you can accomplish the same simulation result by creating an event that changes the value of a parameter. For example, you could set a rate constant to 0 using an event as a way to disable a reaction.
Does that make sense?
-Arthur
  댓글 수: 3
Arthur Goldsipe
Arthur Goldsipe 2016년 6월 18일
Ah, 2 important details. First, you need to make sure the reaction is scoped to the model. In the desktop, you can right-click to get the option to change the scope. Second, you'll need to uncheck the Constant option. Then, you can change the value using an event.
Hirsh Agarwal
Hirsh Agarwal 2016년 6월 18일
Perfect, thank you so much. I simply could not figure out how to access the variable. Changing the scope was the key.
Thanks again!
-- Hirsh

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

추가 답변 (1개)

Stalin Samuel
Stalin Samuel 2016년 6월 17일
Refer here for related discussions that may help you

커뮤니티

더 많은 답변 보기:  SimBiology Community

카테고리

Help CenterFile Exchange에서 Import Data에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by