MATLAB을 이용하여 작업완료 메시지를 ANDROID에 띄우는 방안
10 次查看(过去 30 天)
显示 更早的评论
안녕하세요. 저는 요즘 특정프로그램(MATLAB)의 작업이 완료되면 다른 컴퓨터 및 스마트폰에게 작업이 완료되었음을 알려주는 프로그램 작성에 관심을 두고있습니다.
다른 언어는 C C++을 다룰수있지만 MATLAB이 편리하다보니 현재 작업은 MATLAB으로 진행되고있습니다. 아무튼, 제가 하는 작업은 현재 MATLAB 환경에서 구축되고있습니다. 그런데 작업시간이 많이 소요되는 특징이 있습니다. '되게만하자'란 마음가짐으로 만들어서 온갖 함수 끌어다 쓰며 발적화를 시켜놓았더니 짧게는 2시간 길게는 3일...의 텀으로 작업이 완료되더라구요.
언제 끝날지 모르는 특징도 있어서 주식하는 사람처럼 계속 모니터를 바라보고 있게 되더군요.
몇번 검색해본 결과 cmd상에서 msg명령어를 이용하면 window to window간의 메시지 전송이 가능하다는 것을 알게 되었어요.
MATLAB자체로 통신하는 방법에는 무지한지라
MATLAB에서 BATCH파일을 작성 및 실행시켜서
메시지를 보내는 프로시져를 생각하고 있어요.
그런데 제 본래 목적은 안드로이드나 기타 스마트폰에 메세지를 보내는것 입니다. 스마트폰이 리눅스 환경이라 그런지 저의 좁은 지식으로는 한계가 있음을 알게되었습니다. 아, 저는 CentOS로 vsFTP, SAMBA, XE환경 구축하는 수준만 알고있습니다.
혹시 이와 비슷한 방법을 알고계신분이 있다면 조언을 구하고 싶습니다. 감사합니다.
2 个评论
Walter Roberson
2016-9-14
Approximate translation:
Good morning. I work two days when a specific program (MATLAB) complete with an interest in informing you that the programming operation is completed to other computers and smartphones.
Other languages are easy to handle the MATLAB C C ++, but Bonnie is currently working proceeds with MATLAB. Anyway, I work for is currently being built in MATLAB environment. However, there are features that take a lot of work time. "Let's just be 'mind-set is to create, write and drop all the functions he briefly laid by the angry redness is two hours three days ... long-term work is completed in doedeoraguyo.
In a characteristic not know when've come so end up looking like someone who continue to monitor the stock.
How many times you use the msg command done on the search results cmd I'm finding that it is possible to transfer between window to window messages.
The ignorant way to communicate with MATLAB itself hanjira By creating and running a BATCH file in MATLAB I'm thinking the procedure sending the message.
But the original purpose is to send a message to the Android and other smartphones. Linux as a smartphone grunge narrow my knowledge has found that there is a limit. Oh, I know only the level of building vsFTP, SAMBA, XE environment with CentOS.
If you know the minute you ever in a similar way I would like to seek advice. Thank you.
回答(1 个)
Walter Roberson
2016-9-14
编辑:Walter Roberson
2016-9-14
To send a message to Android or other smartphone, there are some possibilities:
- The Instrument Control Toolbox supports TCP and UDP;
- The File Exchange contribution named "tcpudpip" supports TCP and UDP;
- If you use Simulink then it can do code generation for some Android targets, including using a TCP or UDP block;
- ftp() is built into MATLAB
- there is an ssh/sftp/scp File Exchange contribution
- You can use system() to invoke an external program to do the transfer for you
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!