Hi,
I am looking for a way to turn a one-time input into a permanent signal. Every solution I can think of would include a feedback loop which Simulink won't accept.
Any ideas?

 채택된 답변

Linus
Linus 2021년 7월 1일

0 개 추천

It turns out I'm just really dense. I solved my problem by just using an integrator and put a Compare-To-Zero (==) at the output. This way, any one-time nonzero input to the integrator, no matter how small the timestep, will result in a Boolean 1 as a permanent output signal.
An obvious solution but maybe someone will have the same issue.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

제품

태그

질문:

2021년 6월 30일

답변:

2021년 7월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by