how can i show a pulse signal in simulink?

1 回表示 (過去 30 日間)
felix jose chavez torres
felix jose chavez torres 2018 年 5 月 26 日
回答済み: Ameer Hamza 2018 年 5 月 27 日
i have an arduino one with a external pulse signal i use an arduino input connected to the scope but it shows just a line in zero.

回答 (1 件)

Ameer Hamza
Ameer Hamza 2018 年 5 月 27 日
This might be happening because your pulse width is very small. Arduino uses the serial port to communicate with Simulink. Due to finite bandwidth, the sampling rate of the digital pins which Arduino can send to Simulink is not very high. Therefore, if the width of the pulse is very small, the Simulink will not be able to receive the information and not show in on the scope. Try increasing the width of pulse to see if this correct the problem.

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by