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 CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by