unhelpful error message when an 'end' is left off, or an extra one is left in while editing
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
jkr
am 26 Feb. 2025
Bearbeitet: Walter Roberson
am 28 Feb. 2025
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 Kommentare
Akzeptierte Antwort
Cris LaPierre
am 27 Feb. 2025
You should submit feedback like this directly to MathWorks.
0 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!