Error question :The expression to the left of the equals sign is not a valid target for an assignment
1 view (last 30 days)
Show older comments
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 Comments
Stephen23
on 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.
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Whos in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!