The variable in a parfor cannot be classified
3 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Parallel for-Loops (parfor) 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!