Multithreading in single core xPC Target
조회 수: 9 (최근 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?
댓글 수: 0
채택된 답변
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Multicore Processor Targets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!