The variable in a parfor cannot be classified

조회 수: 2 (최근 30일)
Davide
Davide 2016년 5월 23일
답변: Walter Roberson 2016년 5월 23일
While performing a simple parfor loop I get the error
Error: The variable n_min in a parfor cannot be classified.
The variable n_min is however initialized before the par loop with a simple
n_min = zeros(T,1);
and then used as a standard vector into the parfor loop. What does exactly mean that it cannot be classified?

답변 (1개)

Walter Roberson
Walter Roberson 2016년 5월 23일

카테고리

Help CenterFile Exchange에서 Parallel for-Loops (parfor)에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by