I have a function, CAT(a,b,c) for example saved as CAT.m in a separate file. How can I call this user-defined function from the command window? When I use the function, it makes an error with the message, "Undefined variable or function". I checked for typos. Or rather, how would I put this file on the correct Matlab path? Thanks in advance.
MATLAB: How to call a user-defined function
calling functions
Best Answer