I'm getting the following error when I try to run some function m-files: ??? Undefined function or method '[name of function]' for input arguments of type 'double'.
I know this usually happens when the file isn't in the working directory, but that's not the case here.
When I was running these m-files in a different directory on my computer, it worked fine. I moved them to another directory on my laptop, and they're still fine, but I get this error on two of my desktops.
Thank you.
No products are associated with this question.
Are you function names in mixed case, and your laptop runs Windows but your desktop runs Linux ?
change the working directory to the folder where you have your code or add the path.
Go to the File and choose the Set Path
That's not the problem. The file is in the working directory.
I've tried running it from the editor, but I'm getting the same error.
0 Comments