Simulink function to detect Step time

조회 수: 4 (최근 30일)
Alejandro Fernández
Alejandro Fernández 2020년 11월 9일
댓글: 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 CenterFile Exchange에서 Sources에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by