SimulinkでArduinoと通信する際に発生する遅延について
8 views (last 30 days)
Show older comments
Arduino①から出力されたデータをシリアル通信(Instrument Control ToolboxのSerial Receiveブロックを使用)でSimulink(PC)へ読み込み、Simulink(PC)からもう一つ別のArduino②へSimulink Support Package for Arduino Hardwareのdigital outputブロックを用いて信号を送るモデルを作成しました。
しかし、Arduino①でデータを起こしてから、それをSimulinkを経由してもう一方のArduino②で信号を読み込むまでに実時間で7~8秒ほどタイムラグが発生してしまいます。原因が不明なのですが、ライムラグは0.5秒以内に納めたいと思っています。
ご存じの方がおられましたら解決策を教えていただきたいです。
0 Comments
Answers (0)
See Also
Categories
Find more on モデル化 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!