Multithreading in single core xPC Target

12 次查看(过去 30 天)
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?

采纳的回答

Walter Roberson
Walter Roberson 2011-9-8
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 个)

类别

Help CenterFile Exchange 中查找有关 Multicore Processor Targets 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by