A user-defined function while working with the matlab command prompt does not work from linux prompt!
显示 更早的评论
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.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!