A user-defined function while working with the matlab command prompt does not work from linux prompt!
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown 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!