Take input from mobile in matlab -
i making project , in want take input mobile matlab on computer. plz me this. at-least tell me if can happen or not or there alternate way so. using android phone samsung note-2.
i working on long time ago. if looking cheap (read free) way of doing it, have news you. there 2 tried , worked not satisfactorily.
mobile => sms => facebook => pc
you might aware of facebook option send messages through mobile itself. need activate mobile notification option , receive new messages sms's in mobile. there option reply.
- send message facebook yourself. you'll notification.
- use libcurl , write code monitor conversation thread (with in facebook) pc. need create app in facebook , authenticate access inbox. there technicalities oauth , other things. there lot of examples online.
- just type matlab command , script should save command file. file should monitored matlab , must execute command. output of command stored in file , file accessed libcurl script , sends mobile through 1 of many sites (fullonsms.com). again need use libcurl post specific form in sms website.
pros: cheapest.
con: heavy code , maintaining code problem since websites keep changing. facebook sms thing late , replies late.
dropbox => matlab
this simpler need gprs in mobile access dropbox. type command in dropbox file. matlab in pc monitors file , pulls last line , runs in console. output written (appended) same file gets updated in mobile. file becomes command line essentially.
pros: best method come , worked charm.
cons: not cheap. need pay gprs.
Comments
Post a Comment