"Error: This statement is incomplete" on a comment line
6 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/659710/image.jpeg)
I do not understad why Matlab is evaluating a comment, and further complaining that it is not complete. Even if I delete line 39, it gives the same error for 38, and so on. I have restarted Matlab and the same thing occurs. Any tips?
Thanks in advance.
采纳的回答
Walter Roberson
2021-6-21
编辑:Walter Roberson
2021-6-21
In the code before the commends, you have a [ or { that is not closed by the corresponding ] or }
更多回答(0 个)
另请参阅
类别
在 Help Center 和 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!