필터 지우기
필터 지우기

how can i show the functions files to other computers in parallel computing with main file

조회 수: 1 (최근 30일)
dear friends i have problem in my code matlab my program works with (parfor loop) with different computer the main program contains two functions when i run the program with parallel computing with other computers , the other computers can not see the functions in spite of see the main program the main message when i run
Error using parallel_function(line 589) Undefined function 'sb1' for input arguments of type 'cell'
the main question i have how can i show the functions files to other computers in parallel computing with main file
  댓글 수: 2
Adam
Adam 2014년 10월 30일
Please don't just put as much of your question as can fit in the title. It should be a short summary of your problem.
At a guess I would say you do not have the correct path settings on other computers. Make sure that all the functions being called are on the path. Do they run on the other computers without parfor?
Andrew Reibold
Andrew Reibold 2014년 10월 30일
Try to edit the title of this question so that is very short and concise and gives an idea of what kind of help is needed for the problem. That way, people can see it in the problem listings and immediately be able to identify if they have the expertise to help you.
Putting your body in both places makes it hard, because you can't read the entire body in the question listings. Try to make a very brief summary or short description for the title, then include all the info in the body.

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

채택된 답변

Mohammad Abouali
Mohammad Abouali 2014년 10월 30일
On your other computers, before running your code check if sb1 function is visible. type sb1 or edit sb1 see it open proper file.
If it is not in the same path, then you need to use one of the addpath function to add that to your search path, if you don't want to do it permanently.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by