エラーの原因と解決方法を教えてください
Mostrar comentarios más antiguos
'matlab.graphics.chart.primitive.Surface' タイプのオペランドに対して、演算子 ':' はサポートされていません。
上のようなエラーが出てしまいます。
エラー箇所は下の矢印のところです。
right(isnan(right))=0
s=surf(right)
zlim([inR axR])
% view([-30.6 57.0])
s.EdgeColor = 'none';
for n=1:s(1) ←
for m=1:s(2)
if Data(n,m,face(n,m))==0
Data(n,m,face(n,m))=1;
end
end
end
よろしくおねがいします。

Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre データ型の識別 en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!