Parallel Computing: Execute GUI and programm parallel
3 次查看(过去 30 天)
显示 更早的评论
Hello, I would like to start a GUI (GUIDE) and parallel execute another job. Is there any solution how to realise that problem. When I start the GUI for example in a parfor no User-Interface pops up.
0 个评论
回答(1 个)
Walter Roberson
2017-1-19
It is not possible to do graphics from inside a worker.
There is a demonstration around, written by one of the Mathworks people, that deals with collecting results from multiple workers as they come in, and graphing the results. Unfortunately I do not seem to find that at the moment. It might have used parfeval.
The point is that with some care you can transfer data back to a controlling routine that plots data that has been generated by the workers; however, it does not allow multiple workers to draw graphics.
6 个评论
Walter Roberson
2017-2-15
I am not familiar with how NET and import works, sorry. Perhaps you need to attach files to the pool ? https://www.mathworks.com/help/distcomp/addattachedfiles.html
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Parallel Computing Fundamentals 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!