Info

此问题已关闭。 请重新打开它进行编辑或回答。

Subscript indices must either be real positive integers or logicals.

1 次查看(过去 30 天)
This code
for i=1:length(StayCell)
if(StayCell(i,2:7)==0)
StayCell(i,:)=[];
end
StayCell(i,:)=StayCell(StayCell(i,:));
end
generates this error 'Subscript indices must either be real positive integers or logicals.', can you help me? thanks

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by