How can I trigger an event in a Discrete-Event Chart based on the continous signal value?
조회 수: 1 (최근 30일)
이전 댓글 표시
Nemanja Hranisavljevic
2019년 3월 29일
댓글: Nemanja Hranisavljevic
2019년 4월 5일
I am trying to model a hybrid system composed of discrete event part and continuous part.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/211014/image.png)
The Discrete Event Chart sets the input of the continuous process (Transfer function block). Once the response of the continuous process has settled the Chart should react to this and change its state (and release the entity). The server calls the Simulink function "trans" on entry.
댓글 수: 0
채택된 답변
Krishna Akella
2019년 4월 5일
Hi Nemanja,
Have you tried using 'Message Send' and 'Message Receive' blocks? These blocks can be used to interface continuous blocks with discrete blocks and vice-versa.
If your release is R2018a or greater, you can additionally use the 'Hit Crossing' block.
Regards,
Krishna
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Discrete-Event Simulation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!