Simulink function to detect Step time

4 ビュー (過去 30 日間)
Alejandro Fernández
Alejandro Fernández 2020 年 11 月 9 日
Hello, I need to create a function within simulink that allows me to know the step time value, that is, in this case the display should show the value 1.
Thank you so much.

採用された回答

Fangjun Jiang
Fangjun Jiang 2020 年 11 月 9 日
Use the rising edge of the step signal to trigger a triggered subsystem, which contains a Clock block. When it is triggered, it should output the time at that moment.
  1 件のコメント
Alejandro Fernández
Alejandro Fernández 2020 年 11 月 9 日
Yes perfect! Thank you so much for your help

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSources についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by