Simulink - Triggered Subsystem - Initial Condition

조회 수: 6 (최근 30일)
JOKY JOKE
JOKY JOKE 2012년 1월 5일
Hi,
I can set the initial value of the output of a triggered subsystem. However, at step 2, the output is zero again as long as no trigger signal appears at the input. Is there a way to keep the value to the initial value until the first trigger occurs?
Thank you
  댓글 수: 1
C.J. Harris
C.J. Harris 2012년 1월 5일
This is the default behaviour usually. What is your trigger type?

댓글을 달려면 로그인하십시오.

답변 (2개)

Ross Brown
Ross Brown 2012년 1월 17일
Given just a default Triggered Subsystem block and a Step Input. I set the output port, "Out1", to have the "initial output" of 5.
The value of "Out1" stays 5 until the Triggered Subsystem block sees a rising edge.
This seems opposite from what you are seeing.

JOKY JOKE
JOKY JOKE 2012년 1월 17일
@ Chris: Rising Edge Trigger is what I am using. @ Ross: It is opposite to what I am seeing. My initial output disappears at time step 2, even though no trigger occurs.

카테고리

Help CenterFile Exchange에서 Schedule Model Components에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by