unhelpful error message when an 'end' is left off, or an extra one is left in while editing
Afficher commentaires plus anciens
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?
Réponse acceptée
Plus de réponses (1)
jkr
le 28 Fév 2025
Modifié(e) : Walter Roberson
le 28 Fév 2025
0 votes
Catégories
En savoir plus sur Multirate Signal Processing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!