Updating real-time Plots in a new thread
5 views (last 30 days)
Show older comments
MatlabUser
on 22 May 2016
Answered: Walter Roberson
on 22 May 2016
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!
0 Comments
Accepted Answer
Walter Roberson
on 22 May 2016
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 Comments
More Answers (0)
See Also
Categories
Find more on Graphics Performance in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!