1

I have a Matlab/simulink logfile and I want to send the logfile to my android application. I think of building a simulink model to send this info as a UDP packet to a wireless router and then the router can broadcast it to Eclipse or my Tablet or whatever. I should add that the android application needs realtime information (Matlab logfile).

Do you have any suggestions how can I do this ? or is it practically possible to do this cause I'm new in this field and dont have much information.

could I do this in any other way ? like writing a server in matlab to send information to router and a client in eclipse ?

I'm totally confused !

Aida E
  • 1,108
  • 2
  • 22
  • 40

2 Answers2

0

Matlab natively supports ftp protocol. There exists a FTP server for Java, which could easily be imported to Android, and can be downloaded from apache. Set your Android device as an FTP server, send data from Matlab to the Android phone, and you're set.

Community
  • 1
  • 1
PearsonArtPhoto
  • 38,970
  • 17
  • 111
  • 142
  • should I use cable for sending data from matlab to android phone ? or it'll work with wireless too? – Aida E Apr 05 '12 at 08:46
  • FTP use TCP but I need to transfer realtime data , so time is very important I need to use UDP . – Aida E Apr 05 '12 at 09:10
0

You can use the UDP blocks available in Simulink Support Package for Samsung GALAXY devices to send data from Simulink to your Android device.

saras
  • 235
  • 1
  • 3
  • 8