Info
此问题已关闭。 请重新打开它进行编辑或回答。
parfor loop variable cannot be classified
1 次查看(过去 30 天)
显示 更早的评论
I'm trying to create a function that will select each column from a 1X30 cell and set the velocity value to the mean(defined as a 1X30 cell from another function), but I keep getting "The variable A in a parfor cannot be classified"
function [A]=set_vel(cell, mean)
A={};
parfor i=1:length(cell)
for j=1:length(mean)
A{i,j} = setvalues(cell{i},'vel', mean{j});
end
end
Can someone help?
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!