error using inlineeval (line13)
显示 更早的评论
回答(1 个)
Rik
2021-12-9
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Function Creation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
