"Error: This statement is incomplete" on a comment line
    6 views (last 30 days)
  
       Show older comments
    
    Luisana Rodriguez Sequeira
 on 21 Jun 2021
  
    
    
    
    
    Commented: Stephen23
      
      
 on 16 Mar 2023
            
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.
Accepted Answer
  Walter Roberson
      
      
 on 21 Jun 2021
        
      Edited: Walter Roberson
      
      
 on 21 Jun 2021
  
      In the code before the commends, you have a [ or { that is not closed by the corresponding ] or }
More Answers (0)
See Also
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!