MATLAB Answers

sending data from mobile sensor to simulink continuously

4 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.

  0 Comments

Sign in to comment.

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

Show 3 older comments
Walter Roberson
Walter Roberson on 16 Feb 2017
Which MATLAB release are you using? The hardware support package only supported the S4 and Tab 2 in the original release, but it was enhanced to all Galaxy and Nexus devices a couple of releases ago.
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!