physical and logical cores
8 次查看(过去 30 天)
显示 更早的评论
Hello
Please, how I can use the four physical cores.
feature('numCores');
MATLAB detected: 4 physical cores.
MATLAB detected: 4 logical cores.
MATLAB was assigned: 4 logical cores by the OS.
MATLAB is using: 4 logical cores.
It's using only logical cores, not physical cores.
0 个评论
采纳的回答
James Tursa
2016-1-25
MATLAB typically will use multiple cores automatically for functions that are programmed to use them. E.g., large matrix multiplies will use multiple cores in the background without the user needing to specify that multiple cores should be used. Is there something specific that you are doing that you think should be using multiple cores but isn't?
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!