Filter löschen
Filter löschen

"Error: This statement is incomplete" on a comment line

9 Ansichten (letzte 30 Tage)
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 Kommentare
Al
Al am 16 Mär. 2023
What do you mean "closing this?"

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 21 Jun. 2021
Bearbeitet: Walter Roberson am 21 Jun. 2021
In the code before the commends, you have a [ or { that is not closed by the corresponding ] or }

Weitere Antworten (0)

Kategorien

Mehr zu Loops and Conditional Statements 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!

Translated by