Effacer les filtres
Effacer les filtres

Simulink in external mode with Arduino - Stops at 2%

1 vue (au cours des 30 derniers jours)
Daniel
Daniel le 16 Oct 2016
Modifié(e) : Daniel le 16 Oct 2016
Hello.
When I running a model in Simulink with Arduino blocks in external mode - it stops at 2%. Some Times it more that 2%.
I'm sending both through RX and TX at the same time.
Is that the problem or is it a bug?
I'm sending every 500uS from the computer to the Arduino Mega 2560. And i receive every 1mS from the Arduino to the computer.
I'm using Linux Mint and i have Matlab 2016B.
Isin't there a way to run a model in half external mode? The 500uS signal is only from a pulse generator block. The pulse generator drivning a digital output only.
I only want to receive analog values every 1mS.

Réponses (0)

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