How to switch between parfor and for based on if you have the Parallel Computing Toolbox
조회 수: 2 (최근 30일)
이전 댓글 표시
How can you automatically switch between parfor and for based on if you have the Parallel Computing Toolbox without copying the code within the for loop?
댓글 수: 0
채택된 답변
Walter Roberson
2015년 9월 8일
If there is no PCT installed then parfor is accepted but will operate as a for.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!