Simulink function to detect Step time

4 visualizaciones (últimos 30 días)
Alejandro Fernández
Alejandro Fernández el 9 de Nov. de 2020
Comentada: Alejandro Fernández el 9 de Nov. de 2020
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.

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 9 de Nov. de 2020
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.

Más respuestas (0)

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by