Error debugging...
Show older comments
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..
Answers (1)
Jan
on 8 Oct 2011
0 votes
You cannot define subfunctions in a scritpt. See:
Categories
Find more on Robotics in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!