insert end at right location
显示 更早的评论
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 个评论
Walter Roberson
2013-12-29
I am not sure what you mean by "insert end" ?
采纳的回答
更多回答(1 个)
Image Analyst
2013-12-29
0 个投票
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 个评论
Roger Stafford
2013-12-29
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!