Why do I receive an error when attempting to run my script?
Show older comments
I receive the error
A function declaration cannot appear within a script MATLAB file.
when I attempt to run my script.
Accepted Answer
More Answers (0)
Categories
Find more on Adding custom doc 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!