Simulink in external mode with Arduino - Stops at 2%

조회 수: 1 (최근 30일)
Daniel
Daniel 2016년 10월 16일
편집: Daniel 2016년 10월 16일
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개)

카테고리

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