How can I pass data from mobile app to MATLAB?
5 views (last 30 days)
Show older comments
I'm developing mobile application. I want to send data from app to MATLAB for computing. After that, MATLAB will send result back to app. anyone know how can I do like that. I'm really thankful for your recommendations.
0 Comments
Answers (1)
Walter Roberson
on 2 Sep 2018
You could use the appropriate Simulink support package; https://www.mathworks.com/help/supportpkg/android/ref/tcpipsend.html if you are looking to use MATLAB to generate the code that will run as the mobile app.
See also https://www.mathworks.com/hardware-support/android-sensor.html if your data is Android sensor data.
You can use tcpclient() from MATLAB itself if the mobile app is willing to act as a server.
If the mobile app is to act as a client and MATLAB is to act as a server, then you need either the Instrument Control Toolbox so you can use tcp() or udp() as a server, or you need the tcpipudp File Exchange contribution.
0 Comments
See Also
Categories
Find more on MATLAB Mobile 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!