maxNumCompThreads(1);
11 ビュー (過去 30 日間)
古いコメントを表示
This is no longer valid. Then how to set the max number of threads in R2015b?
0 件のコメント
回答 (1 件)
Rebecca Krosnick
2016 年 3 月 8 日
maxNumCompThreads(1) should still work. The documentation page for maxNumCompThreads indicates that maxNumCompThreads will be removed in a future version: http://www.mathworks.com/help/matlab/ref/maxnumcompthreads.html
Another option for setting the maximum number of computational threads to 1 is to use the -singleCompThread option when starting MATLAB® to limit MATLAB to a single computational thread. Open MATLAB from a terminal with
matlab -singleCompThread
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!