MATLAB editor recognising 'function' declaration
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
Hello all,
Writing a series of functions in the MATLAB editor, which I have been working on for some time without problems. Now, the editor seems to not recognise that a function has been declared. The function declaration is the first line of the file and matches the filename. For loops and subfunctions in the file have the same issue. Copying the code to a new editor window relieved this problem temporarily, but after working on the code, the new file now has the same issue.
Anyone encountered any similar problems in the editor?
Thanks,
Andrew
2 Kommentare
the cyclist
am 22 Jul. 2013
Can you post the smallest possible function file that shows the behavior? This is pretty hard to diagnose without seeing code.
My only guesses would be some kind of mismatch with "end" statements, since you mention for loops and subfunctions.
Jan
am 22 Jul. 2013
Please explain the occurring effects. What does "seems not to recognize that function" exactly mean? What do you observe?
We cannot guess this very important detail of the question.
Antworten (0)
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!