insert end at right location
Show older comments
i have very nested for loop but when i want insert end for them i cannot insert them in the right locations i want do it arbitrary
1 Comment
Walter Roberson
on 29 Dec 2013
I am not sure what you mean by "insert end" ?
Accepted Answer
More Answers (1)
Image Analyst
on 29 Dec 2013
0 votes
Try typing control-a control-i to fix up the indenting. It will let you see where you've messed up. Also if you click on the if/while/for, or the "end", it will show you briefly for a second or two where the matching line of code is.
1 Comment
Roger Stafford
on 29 Dec 2013
Yes, Image Analyst, that's more likely what Fatemeh meant. I didn't think of that possibility. This guesswork is sometimes the hardest part of answering.
Categories
Find more on Loops and Conditional Statements 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!