Error debugging...

i am doing project in mobile robot path planning using GA..
While i run the program i get this error "Function definitions are not permitted at the prompt or in scripts".
How to debug this error.. Function definitions are not permitted at the prompt or in scripts.
please help me..

Products

Asked:

on 8 Oct 2011

Community Treasure Hunt

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

Start Hunting!