フィルターのクリア

Control signal for a triggered subsystem

1 回表示 (過去 30 日間)
Emidio Bacco
Emidio Bacco 2018 年 12 月 2 日
編集済み: Jim Riggs 2018 年 12 月 11 日
Hello ,
I have a triggered subsystem in simulink which is controlled by an external control signal. In the subsystem there is the trigger block and the trigger type is function-call. Is it possible see the control signal ? I need to measure the period of this control signal because I need to know how many times the subsystem is execute in a second ( so I need to know the frequency )

回答 (2 件)

Rishabh Gupta
Rishabh Gupta 2018 年 12 月 11 日
Hi Emidio,
You can see the control signal using the 'scope' block in simulink. Add a scope block to the output of the control signal, which controls the trigger subsystem.

Jim Riggs
Jim Riggs 2018 年 12 月 11 日
編集済み: Jim Riggs 2018 年 12 月 11 日
@Rishabh Gupta's answer allows you to view the trigger signal from the block that triggers the subsystem.
If you want the trigger signal to be available inside the triggered subsystem, there is no reason that you cannot bring it in as a separate input signal, i.e.:
MatlabAnswers 20181211.JPG

カテゴリ

Help Center および File ExchangeSchedule Model Components についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by