"Error: This statement is incomplete" on a comment line
显示 更早的评论

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.
6 个评论
Chunru
2021-6-21
Try 'dbstop error' and show the line before and after.
KSSV
2021-6-21
Copy and paste code here....image snippet will not help us.
Stephen23
2021-6-21
You are probably missing an END at the end of a FOR loop, or something similar.
As you did not show us the complete code, we can only guess. If you want more help, show us the complete code as text.
Luisana Rodriguez Sequeira
2021-6-21
Al
2023-3-16
What do you mean "closing this?"
Stephen23
2023-3-16
"What do you mean "closing this?""
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 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!