Function file does not work
Show older comments
If I save a function in a file it is not work even I save the function file in the same folder of the code
the error is
'Undefined function 'Crouts1A' for input arguments of type 'double'.'
but if I write the function in the last code it is work.. how can I fix it.
My version Matlab is R2024a
4 Comments
Mathieu NOE
on 10 Sep 2024
That's weird
can you show the code ?
Stephen23
on 10 Sep 2024
My guess is a local function in a script, which seems to be a popular mistake these days. But without the code we can only guess.
Nehad
on 10 Sep 2024
@Nehad: do you see how the function name is underlined with a wavy orange line? Do not ignore these mlint warnings: right-click on the warning and see what the message tells you. Most likely that will help you solve your problem.
If you want us to help you then please upload your file here by clicking the paperclip button. We cannot run a screenshot.
Accepted Answer
More Answers (0)
Categories
Find more on Search Path 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!