Sending float number to Simulink from Arduino Uno via Serial Communication
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Arduino Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!