Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Subscript indices must either be real positive integers or logicals.

1 vue (au cours des 30 derniers jours)
pamela sulis
pamela sulis le 27 Oct 2015
Commenté : Stephen23 le 27 Oct 2015
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 commentaires
pamela sulis
pamela sulis le 27 Oct 2015
how can I modified the code?
Stephen23
Stephen23 le 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:

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by