Arduino Due with Simulink - External Mode

1 vue (au cours des 30 derniers jours)
Alik
Alik le 5 Mai 2014
Réponse apportée : Useok le 29 Mai 2014
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 commentaire
Thomas
Thomas le 8 Mai 2014
Hello Alik,
did you already find a solution? I have exactly the same problem as yours.

Connectez-vous pour commenter.

Réponses (2)

Dnon Y.
Dnon Y. le 8 Mai 2014
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 le 29 Mai 2014
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.

Catégories

En savoir plus sur Arduino Hardware dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by