Background Processing not working
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Shrey
el 11 de Jul. de 2023
Editada: Mudit Kumar Bhugari
el 12 de Jul. de 2023
I'm using a long code which contains classes and functions. I want to make computaions fast for my code. For that, I'm passing some of the system objects and functions in background and rest of the computations in foreground. I'm using fetchOutputs function to fetch the results from background, but it is giving error. Please help
0 comentarios
Respuesta aceptada
Mudit Kumar Bhugari
el 11 de Jul. de 2023
Editada: Mudit Kumar Bhugari
el 12 de Jul. de 2023
Hi Shrey
As I can understand from your explaination, you are trying to use background processing for your code and you are not getting the expected outputs. One reason for that could be as you are passing system objects in background and then fetching their outputs, but system objects are not supported in background. You have to pass functions only.
One alternative for it could be that you convert your classes into functions and then pass to background.
I also request to share your code and error which you got, it wil be more useful in resolving your query.
Más respuestas (0)
Ver también
Categorías
Más información sobre Parallel Computing Fundamentals en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!