Simulink function to detect Step time
2 ビュー (過去 30 日間)
古いコメントを表示
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/408245/image.png)
Thank you so much.
0 件のコメント
採用された回答
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.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!