필터 지우기
필터 지우기

Question about the "enable" block.

조회 수: 2 (최근 30일)
Sébastien Malengé
Sébastien Malengé 2011년 3월 18일
Hi,
I have a little question about the enable block. If I have a enable block in a subsystem, what become my outputs when my subsystem is not enable ? And more specially when I have one output which is a bus ?

채택된 답변

Kaustubha Govind
Kaustubha Govind 2011년 3월 18일

추가 답변 (2개)

Arnaud Miege
Arnaud Miege 2011년 3월 18일
Have a read of Enabled Subsystems in the Simulink documentation, particularly the section Setting Output Values While the Subsystem Is Disabled. As far as I know, this works with busses as well.
HTH,
Arnaud

Sébastien Malengé
Sébastien Malengé 2011년 3월 18일
I already read this doc, but how do you do to put your initial condition in the "initial output" box, when you have a bus ? For example, in my bus, I have enumerated, double, maybe an other bus, etc, so I don't have just one value to initialize.
  댓글 수: 2
Guy Rouleau
Guy Rouleau 2011년 3월 22일
Did you really read the section mentioned by Kaustubha? This is what you need. Note that it is available since MATLAB R2010a.
Kaustubha Govind
Kaustubha Govind 2011년 3월 23일
Guy: I think Sebastien's reply was to Arnaud's answer. My answer came later but got voted up, so it shows up higher.

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

카테고리

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