Error question :The expression to the left of the equals sign is not a valid target for an assignment
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Trying to debug this loop (I am pretty new with matlab). I get the error for the last line. Any tips?
for i=2:length(text)
roi=text{i};
eval([roi,'_sani=table2(indici_cnt,i);']);
eval([roi,'_fep=table(indici_fep,i);']);
eval(['table_out.',roi,'=[',roi,'_fep;',roi,'_sani];']);
end
5 commentaires
Stephen23
le 2 Mar 2016
@M.Gloria: screenshots are not very useful for us. Please upload the code using the paperclip button. Then click Choose file and Attach file buttons.
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Whos dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!