Simultaneous/parallel tasks
显示 更早的评论
Hi, this is my first spread and hope some feedbacks. I need to do the following tasks simultaneously. How can I use Matlab to achieve it? (1) Download data every second from a remote terminal/server. (2) Process the data to judge if the secondly updated data satisfy certain conditions or not. (3) When certain conditions are met, send commands to the remote terminal/server to operate tasks.
采纳的回答
更多回答(1 个)
Guillaume
2015-9-7
0 个投票
Hum, you're describing a very sequential process (download -> process -> feedback). What exactly are you hoping to parallelise?
In any case, if you want to execute parallel tasks with matlab, you need the parallel toolbox. Without the toolbox it possibly could be achieved by deferring to Java, .Net, or mex but in that case you may as well write your entire code in Java, .Net, or C
类别
在 帮助中心 和 File Exchange 中查找有关 Downloads 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!