How can I associate a callback with the link status of a block in Simulink?
조회 수: 1 (최근 30일)
이전 댓글 표시
I have created some library blocks and I would like to issue a warning if the link to those blocks is ever broken. However, there does not appear to be a way to execute a callback based on the link status of a block.
채택된 답변
MathWorks Support Team
2009년 6월 27일
The ability to create a callback for the link status of a block is not available in Simulink.
To work around the issue, you can evaluate the link status of all the model's blocks in a model callback, such as the Model Initialization function.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Model, Block, and Port Callbacks에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!