Multithreading in single core xPC Target
12 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am running a HILS using xPC Target v5.0. The target PC has a single core processor. I would like to run two simulations simultaneously using multithreading. Is there any way to have parallel processes running in a single core Target PC?
0 comentarios
Respuesta aceptada
Walter Roberson
el 8 de Sept. de 2011
No. Even if the CPU supports hyperthreading, hyperthreading does not run code simultaneously: it is just a way of sneaking in more work when the CPU would otherwise be idle for a moment. See http://en.wikipedia.org/wiki/Hyper-threading
Hyperthreading, if it is possible at all in that configuration, would be a way of running multiple simulations more efficiently ... but not "simultaneously".
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Multicore Processor Targets en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!