Illegal use of reserved keyword "for". what does it mean?
68 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Muhammad Ali Haider
am 29 Mär. 2016
Kommentiert: Muhammad Ali Haider
am 30 Mär. 2016
This is part of my code
for i= 1:19
u= 7824*(i-1)+1;
g= u +7823;
for j= 0:26
for k= 96:107
h= 163*j + k;
z= zeros(7824:1);
z(h)= 1;
Result_matrix = mlinverse(:,u:g) * linverse * z;
end
end
end
it shows the error on line with for i=1:19 and quoting the error Illegal use of reserved keyword "for''
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 29 Mär. 2016
The error is earlier in your code. You are probably missing a "]" in a previous line.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!