필터 지우기
필터 지우기

Triggering an Event Signal

조회 수: 1 (최근 30일)
Paul
Paul 2013년 11월 26일
답변: Paul 2013년 11월 26일
I am trying to simulate CAN communication on a bus to a realtime system and I have two main aims for my model.
1. To be able to send a singular packet of data by triggering it with out any new packet being sent again until the next interval. As my model may be running at a faster sampling time I don't want the signal being sent continually till the next trigger signal
2. To be able to trigger the event with a particular period but with added randomness.
For example if I want the signals to be sent every 5 seconds +/- 10 % then the block I'm using will trigger of intervals of 4.5-5.5 seconds randomly
Here is my attempt as you can see both signals hold the scope at what was the last trigger in intervals

채택된 답변

Paul
Paul 2013년 11월 26일
I believe I have solved my problem of data sending my putting the scope inside the block means that no hold signal is created.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Complex Logic에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by