MATLAB: 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

matlab mobile sensors

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.

Best Answer

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.