首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在matlab中从移动设备获取输入

问在matlab中从移动设备获取输入
EN

Stack Overflow用户
提问于 2013-05-13 13:41:06
回答 2查看 609关注 0票数 0

我正在做一个项目,因为我想采取从移动到计算机上的matlab的输入。请谁来帮我这个忙。至少-告诉我是否可以发生,或者有什么替代方法。我用的是安卓手机三星Note-2。

EN

回答 2

Stack Overflow用户

发布于 2013-05-30 15:48:18

我很久以前就在做这个了。如果你正在寻找一种便宜(免费阅读)的方式,我有个好消息要告诉你。有两个我尝试过,他们工作,但不是很令人满意。

  1. 移动=>短信=> PC

你可能知道facebook的选项,即通过手机本身发送消息。您需要激活移动通知选项,然后您将收到新的短信在您的手机。有一个回复选项。

代码语言:javascript
复制
- Send a message from facebook to yourself. You'll get the notification.
- Use LIBCURL and write a code to monitor the conversation thread (with yourself in facebook) from PC. You need to create an App in facebook and authenticate it to access your inbox. There are technicalities like OAuth and other things. There are a lot of examples online.
- Just type the matlab command and your script should save that command to a file. This file should be monitored by matlab and must execute the command. The output of the command is stored in another file and this file is accessed by the libcurl script and it sends it your mobile through one of the many sites (FullOnSms.com). Again you need to use libcurl to post to the specific form in the sms website.

PROS:最便宜。

CON:繁重的代码和维护代码是一个问题,因为网站一直在变化。有时候,facebook短信的事情来得太晚,你的回复也来得太晚。

  1. Dropbox => Matlab

这要简单得多,但你需要在手机中使用gprs才能访问dropbox。在dropbox文件中键入命令。计算机中的Matlab监视文件,提取最后一行并在控制台中运行它。输出被写入(附加)到同一个文件中,该文件在您的移动设备中更新得很快。你的文件基本上变成了命令行。

PROS:我能想到的最好的方法,它的效果非常好。

CONS:不是很便宜。你需要为GPRS付费。

票数 1
EN

Stack Overflow用户

发布于 2013-05-30 16:39:39

使用此应用程序从您的安卓智能手机或平板电脑远程连接到MATLAB:https://play.google.com/store/apps/details?id=com.mathworks.matlabmobile

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/16515495

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档