Simulink in external mode with Arduino - Stops at 2%
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!