I wonder if it's possible to connect MATLAB for android/iOS(mobile) directly to audrino through wifi or do I have to go through a computer?

2 次查看(过去 30 天)
Now i am sending the sensor data from my iPhone through my computer and from my computer to the audrino. I know that I can write my one application for my iphone to send the sensor data, but it would be easier to use the matlab app if it's possible.

采纳的回答

Walter Roberson
Walter Roberson 2016-10-11
MATLAB cannot run on android or iOS. There is a "MATLAB Mobile" interface that can allow those to act as displays for remote MATLAB (to some extent.) There are sensor packages for the two that can send data to MATLAB sessions. There are Simulink blocks that can be used to create models that deploy to android, and other Simulink blocks that can be used to create models that deploy to iOS.
The android sensors package and the iOS sensor package use UDP (I think) to send to MATLAB sessions. You can tell the sensor packages on the phones to send to an arbitrary IP address and port. But I do not recall seeing the format of the packets documented, or the protocol for instructing which sensors are to be sent.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Mobile 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by