MATLAB Answers

Expression or statement is incorrect--possibly unbalanced (, {, or [

1 view (last 30 days)
jeffin
jeffin on 30 Jan 2016
Commented: Image Analyst on 31 Jan 2016
while i tried to run the code to detect an object from the link http://www.mathworks.com/matlabcentral/answers/112917-how-to-detect-hand of the Image Analyst. But am getting the above error, Kindly help.

  3 Comments

Stephen Cobeldick
Stephen Cobeldick on 30 Jan 2016
The error message tell us that your code has some unmatching parentheses, brackets, or curly brackets. It is going to be hard for us to diagnose where if you don't show us your code. There is an error in your code, so if you want help you have to show us your code.
The easiest is to upload it: click the paperclip button, then both the Choose file and Attach file buttons.
Walter Roberson
Walter Roberson on 31 Jan 2016
I copied the code there onto my system and checked; there is no error like that reported.
Image Analyst
Image Analyst on 31 Jan 2016
Jeffin, you must have modified it somehow. Please attach your modified code with the paper clip icon.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!