Synchronize Serial communication between simulink and Arduino

5 次查看(过去 30 天)
I am trying to build a model that sends two floats over serial to an arduino and waits for two values to be sent back. For now am trying to send back the same values to ensure that the arduino is reading the values correctly. I think right now I am having a problem were simulink is sending the values so fast that its overflowing the buffer and the arduino is reading garbage.
Is is possible to trigger a Simulink serial send command when it reads a value from the Serial port?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by