functions at end of file - THEY ARE
Show older comments
So, I"m expanding my horizons a bit and messing with functions, I need to use the quad command... anyhoo...
trying to get a function set up (apparently the quad comands needs one as input?) and I keep getting the "functions must be at the end of the file." The problem is, THEY ARE - shown here is the code I've gotten together so far. I've even tried getting rid of one function for troubleshooting, just to see if it wasn't happy with the formatting. Doesn't seem happy with anything I do here!
dff1 Comment
"The problem is, THEY ARE "
This neatly illustrates why it is always useful/important to pay attention to the syntax highlighting: if you had checked all of the underlined code, then you would have resolved this issue very quickly by yourself:

Accepted Answer
More Answers (0)
Categories
Find more on Files and Folders in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!