Can I use tic and toc inside a parfor?
Mostrar comentarios más antiguos
Hello there,
I was wondering if I could do something like:
my_times = zeros(1,N);
parfor past_image = 1:N
my_time = tic;
do_stuff;
my_times(past_image) = toc(my_time);
end
Thanks,
Pedro
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!