Why do I get the error '??? Output argument ‹variable› (and maybe others) not assigned during call to ‹function›.' ?
Show older comments
Why do I get the following error message :
??? Output argument ‹variable› (and maybe others) not assigned during call to ‹function›.
Accepted Answer
More Answers (1)
Beginner Dave
on 11 Feb 2018
10 votes
I also had the problem. After confirming the argument spelling, the problem persisted. I found a misplaced "end" in my function. After moving the "end" to the correct line, the problem was solved.
Categories
Find more on Scope Variables and Generate Names in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!