Updating real-time Plots in a new thread

11 次查看(过去 30 天)
Hi All,
I have Matlab 2015a (SP1) with Parallel Computing Toolbox (v6.6). I would like to update the a real-time plot (using drawnow function) in a new thread to free-up the main EDT thread. I have been trying to implement this using the 'parfeval' function (as I thought it can deal with graphical objects unlike hte 'batch' functionality) but with no success.
Is there anyway to update graphical objects (such as plots) in a new thread.
Many thanks for the help!

采纳的回答

Walter Roberson
Walter Roberson 2016-5-22
Is there anyway to update graphical objects (such as plots) in a new thread.
No. The workers need to communicate back to the main thread and have it do the graphics. An example is at http://www.mathworks.com/matlabcentral/fileexchange/24594-parfor-progress-monitor

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics Performance 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by