sequential block of code inside parallel section
12 次查看(过去 30 天)
显示 更早的评论
Hello,
I am trying to do some operations inside a parallel section sequentially.
In every parallel framework that I have worked with, there is something like mutexes, semaphores, critical etc which allow you to do this.
Matlab lacks this features and a relevant submission that I found in the file exchange, which was also suggested by a mathworks engineer in another question, was full of persistent variables which could possibly lead to bugs.
Any ideas?
thanks
1 个评论
回答(1 个)
Walter Roberson
2012-12-27
Unfortunately mutexes over networks are difficult. See e.g., the discussion http://www.mathworks.com/matlabcentral/newsreader/view_thread/279510
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!