Arduino Due with Simulink - External Mode

3 ビュー (過去 30 日間)
Alik
Alik 2014 年 5 月 5 日
回答済み: Useok 2014 年 5 月 29 日
Hello,
i have a big problem with Arduino Due, Simulink and the External Mode and need help. The external mode runs good but very slow. 1 millisecond in simulink takes 1 second in real time. How can i fix this problem to run the external mode nearly real time on the screen (scope) and arduino?
thx
  1 件のコメント
Thomas
Thomas 2014 年 5 月 8 日
Hello Alik,
did you already find a solution? I have exactly the same problem as yours.

サインインしてコメントする。

回答 (2 件)

Dnon Y.
Dnon Y. 2014 年 5 月 8 日
Hi Alik, I hope you found the answer. my case is different because I am using Galileo and still having a problem to communicate between the board and the computer. Can you send me the way how you did that with Arduino because they are almost same. Thanks

Useok
Useok 2014 年 5 月 29 日
Hi. I have same problem with Arduino due on Simulink External mode. It was fine with normal mode, but simulation speed slows down with external mode. I think the problem of the speed is beacuse of increased processing burden on external mode as this document said. When I checked task overruns on Arduino with external mode, it always overrun even on very simple code. You can check overrun like this.

カテゴリ

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