error using inlineeval (line13)
Show older comments
Answers (1)
Rik
on 9 Dec 2021
0 votes
Why are you using an inline object instead of an anonymous function?
Anyway, the reason is the ^^ in your function definition. That is not a valid Matlab syntax.
Categories
Find more on Function Creation 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!