I have added all my functions to pathdef.m and the script works just fine while I am on Matlab prompt. But when I try to run the same script usng linux prompt with matlab -r -nodesktop -nosplash it says undefined function or variable.
MATLAB: A user-defined function while working with the matlab command prompt does not work from linux prompt!
linuc promptpathdef.muser defined function
Best Answer