Info
This question is closed. Reopen it to edit or answer.
Subscript indices must either be real positive integers or logicals.
1 view (last 30 days)
Show older comments
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
2 Comments
Stephen23
on 27 Oct 2015
Please stop posting duplicate questions, it makes it more difficult for us to help you. I have answered your other (almost) identical question on this topic:
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!