unhelpful error message when an 'end' is left off, or an extra one is left in while editing
3 次查看(过去 30 天)
显示 更早的评论
When editing a matlab function I am writing, I occasionally make an error (gasp). When that involves leaving in an extra or leaving out a needed 'end', the error message is unhelpful. It says:
Local function name must be different from the script name.
I found that baffling until I got used to it (I make mistakes more than once).
Could it not be improved?
0 个评论
采纳的回答
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!