Plot a figure inside parfeval
Mostrar comentarios más antiguos
Hello all,
I've built an app using the AppDesigner and I would like the app to execute different functions according to user's choise (the requests could be at different times). The execution of each function might take time.
I've noticed that if I request an execution of two functions, Matlab HALTS the execution of the first function until the second one is done.
This is probably because there is only one worker to execute everything.
A quick research pointed out I should use parfeval. However, it seems that if function F should plot a figure, it doesnt do so.
I've Managed to verify that function F did ran, I simply saved the workspace inside F.
Any ideas why parfeval won't plot? Or workaround without having to return the figure as output?
Thanks in advance!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Asynchronous Parallel Programming en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!