I got an error.Function definitions are not permitted in this context.
1 view (last 30 days)
Show older comments
Bishow Shrestha
on 30 Sep 2017
Commented: Bishow Shrestha
on 1 Oct 2017
I have saved it with main file with this name. I couldn't figure out what's wrong I the function. When I go for description they said nested function cannot be defined in control variable, but there is no other function inside function to make it nested structure. Thanks
2 Comments
Accepted Answer
Walter Roberson
on 30 Sep 2017
You need to delete that digit 1 that is in the first column of the first line.
More Answers (0)
See Also
Categories
Find more on Whos 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!