Multithreading in single core xPC Target

12 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

Walter Roberson
Walter Roberson il 8 Set 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".

Più risposte (0)

Categorie

Scopri di più su Multicore Processor Targets in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by