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