How can I demonstrate the pulse width as number on display in Simulink?
1 回表示 (過去 30 日間)
古いコメントを表示
Hi, i have a pulse generator that i made frome delay as shown in picture, that is used to drive a motor through H-bridge, then i would to do some action based on the duration of one pulse, for example if i have apulse width =2msec, i would to perform an action if = 1msec another action, and etc.. with diffrent pulse width, the problem that i dont know how to get the puls width as double or boolean data to pe used with a stateflow or if function. can someone help me?? thanks.![Screenshot 2019-12-19 at 17.07.32.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/256375/Screenshot%202019-12-19%20at%2017.07.32.png)
![Screenshot 2019-12-19 at 17.07.32.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/256375/Screenshot%202019-12-19%20at%2017.07.32.png)
0 件のコメント
回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Sources についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!