Info

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

Cell contents reference from a non-cell array object. error in loop

5 vues (au cours des 30 derniers jours)
Payjay
Payjay le 25 Avr 2018
Clôturé : MATLAB Answer Bot le 20 Août 2021
hi there, so i want to extract a 1*3 double from a cell array, but in the loop i get the error shown above, any help?
for i=1:length( c )
d=some_cell{i,1}{1,1};
end
  2 commentaires
Rik
Rik le 25 Avr 2018
Apparently some_cell{i,1} does not contain a cell, or some_cell is not a cell itself. If you don't show some actual code, we won't be able to help you.
Payjay
Payjay le 25 Avr 2018
that was it, thanks a lot! mentioned it half an hour ago!

Réponses (0)

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by