Sending float number to Simulink from Arduino Uno via Serial Communication

조회 수: 1 (최근 30일)
Hi, I'm trying to send a sensor value from arduino to Simulink, after some calculations sending them back to arduino via Serial Communication. I first started with "Serial Receive" block under "Simulink Support Package for Arduino Hardware" but it didn't work because I guess this block does not support Ardunio Uno (also written in this page) Afterwards I tried to "Serial Receive" block under "Instrument Control Toolbox" but I'm not sure how to send double number. Sensor values are float numbers. I think problem is with data types and data sizes. Can anyone help me with that?

답변 (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