??? Error using ==> feval Undefined function or method 'XX' for input arguments of type 'struct'.
2 views (last 30 days)
Show older comments
I got the below error when calling a function
??? Error using ==> feval Undefined function or method 'PB_NewVer_Callback' for input arguments of type 'struct'.
The path which contains the necessary .p files is also added in Matlab path. (But if the function is called when the current matlab path is the path containing the .p files, no error)
Can anyone help me in this as soon as possible?
0 Comments
Answers (2)
Sean de Wolski
on 5 Jun 2012
This sounds like the folder containing said *.p files is not on the path. Use the pathtool to add them and save the path:
>>pathtool
0 Comments
Anusuya Mani
on 5 Jun 2012
1 Comment
hust
on 3 Apr 2014
could you tell me how to solve this problem in detail? i just copied and pasted my .m and .fig in an other version matlab, and got the error as the same as you.
See Also
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!