how can i show the functions files to other computers in parallel computing with main file
1 回表示 (過去 30 日間)
古いコメントを表示
RAAD AL-DULAIMI
2014 年 10 月 30 日
回答済み: Mohammad Abouali
2014 年 10 月 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
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
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
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!