The variable in a parfor cannot be classified

3 views (last 30 days)
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?

Answers (1)

Walter Roberson
Walter Roberson on 23 May 2016

Categories

Find more on Parallel for-Loops (parfor) in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!