Background Processing not working

조회 수: 1 (최근 30일)
Shrey
Shrey 2023년 7월 11일
편집: Mudit Kumar Bhugari 2023년 7월 12일
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

채택된 답변

Mudit Kumar Bhugari
Mudit Kumar Bhugari 2023년 7월 11일
편집: Mudit Kumar Bhugari 2023년 7월 12일
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.
  댓글 수: 1
Shrey
Shrey 2023년 7월 11일
Thanks Mudit. It is helpful

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Parallel Computing Fundamentals에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by