Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Reference to a cleared variable
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi friends,
After I runned the following program(part of all):
for l = 153:1:227
figure;
QQ = mouse(:,:,l);
imshow(QQ,[]);
hold on;
seg_result(:, 3) = round(seg_result(:, 3));
for i = 1:1:1519
if seg_result(i, 3) == l
plot(seg_result(i, 2),seg_result(i, 1),'.');
hold on;
end
end
for j = 1:1:1510
if I(j, 3) == l
plot(I(j, 2),I(j, 1),'.r');
end
end
end
I saw an error:
Reference to a cleared variable seg_result.
Error in segment seg_result(:, 3) = round(seg_result(:, 3));
Please help me if you can deal with it,thank you!
0 comentarios
Respuestas (0)
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!