- 1 for a signal that causes a rising trigger
- -1 for a signal that causes a falling trigger
- 2 for a function-call trigger
- 0 otherwise
How can you view the function call event for a function call subsystem?
조회 수: 14 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2017년 3월 16일
답변: MathWorks Support Team
2017년 3월 16일
How can you view the function call event for a function call subsystem?
채택된 답변
MathWorks Support Team
2017년 3월 16일
In the Function-Call Subsystem, you can launch the block parameters of the "Trigger Port" block and check the "Show output port" option. You can then connect the output with a "Scope" or "To Workspace" block. In this way, every time the subsystem is called, the signal is logged. If you connect to a Scope, you can open the Scope setting dialog. In the "Style" tab, choosing a "Marker" will make the output more clear.
The Trigger block will output a value as:
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Subsystems에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!