how can i show the functions files to other computers in parallel computing with main file
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
RAAD AL-DULAIMI
el 30 de Oct. de 2014
Respondida: Mohammad Abouali
el 30 de Oct. de 2014
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 comentarios
Adam
el 30 de Oct. de 2014
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
el 30 de Oct. de 2014
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.
Respuesta aceptada
Mohammad Abouali
el 30 de Oct. de 2014
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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Loops and Conditional Statements 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!