unhelpful error message when an 'end' is left off, or an extra one is left in while editing
이전 댓글 표시
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?
채택된 답변
추가 답변 (1개)
jkr
2025년 2월 28일
편집: Walter Roberson
2025년 2월 28일
0 개 추천
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!