MATLAB Answers

sending data from mobile sensor to simulink continuously

3 views (last 30 days)
Hi I need to send data continuously from matlab workspace to simulink, I am reading a mobile sensor and need the readings to be instantly sent to simulink , so the readings are the inputs to simulate a hardware model connected with matlab through arduino.

Accepted Answer

Walter Roberson
Walter Roberson on 23 Jan 2017
You will always have a latency and maximum throughput in receiving signals and making them available to Simulink.
I am not clear as to why you are not using the Simulink Android sensor blocks ?
  6 Comments
Walter Roberson
Walter Roberson on 16 Feb 2017
Ah, the upgrade to support all Galaxy was in R2016a; https://www.mathworks.com/help/supportpkg/android/release-notes.html
You could try installing from the "Get Support Package" link at https://www.mathworks.com/hardware-support/android-programming-simulink.html to see if you get the newer version.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by