Arduino Due with Simulink - External Mode

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 个评论

Hello Alik,
did you already find a solution? I have exactly the same problem as yours.

请先登录,再进行评论。

回答(2 个)

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.

类别

帮助中心File Exchange 中查找有关 Arduino Hardware 的更多信息

提问:

2014-5-5

回答:

2014-5-29

Community Treasure Hunt

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

Start Hunting!

Translated by