Parrellel server dir() for files local to the server
Ahora está siguiendo esta pregunta
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
Se ha producido un error
No se puede completar la acción debido a los cambios realizados en la página. Vuelva a cargar la página para ver el estado actualizado.
0 votos
Comparte un enlace a esta pregunta
Respuesta aceptada
2 votos
Comparte un enlace a esta respuesta
13 comentarios
Comparte un enlace a este comentario
- I usually hard code in paths for testing purposes as I have used uigetdir() in the past but it can be a little annoying for lot of testing. I would really like to see how you would suggest to do it if there is a better way though!
- To submit a job to the cluster I have been using Enviroment -> Parallel -> Select a default cluster -> my cluster and run the job as this seemed to be handeling the submission part?
- I hadn't be using parfor to loop around the files as the load() command is incompatiable with this, if you know of a way around this I would love to know it. I have a large amount of computing resource so if I can compute different patient files in parallel this should massivly speed things up!
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
- This will proccess multiple .mat files similtanously (Basically replacing the orignal FOR loop but the parrellel nature will mean it processes faster)
- How can this block 'load' .mat file data (i think thats what the variable brain_file is doing?) without using load()? Equally I know you can't use load() in a parfor loop.
- Lastly, while not a concern currently how would you do the same but with say a .csv file?
Comparte un enlace a este comentario
- For parfor loops to work properly, they must (ultimately) behave and provide the same results as a for-loop, but quicker.
- Whenever you modify your code to parallelize it, go back and run it as a for-loop to ensure you haven't changed the behavior/output.
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Más respuestas (0)
Categorías
Más información sobre Parallel and Cloud en Centro de ayuda y File Exchange.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
