how to solve "Undefined function" problem?

58 views (last 30 days)
mohanish on 24 Sep 2018
Commented: OCDER on 26 Sep 2018
I am writing a code where i used melcepsta function and it worked fine for the first time. Later I closed Matlab completely and opened it 3 days later to run the same program, but it did not run and it gave me this error.. "Undefined function 'Melcepsta'". Before running the program after 3 days it asked whether to change the path of the .m file or add to the path.. I selected add to the path.. I have attached the .m and .fig file along. Please, any help will be appreciated.

Accepted Answer

OCDER on 24 Sep 2018
Add the path where your missing function is to your Matlab working path. Read more here.

Sign in to comment.

More Answers (0)


Find more on Interactive Control and Callbacks 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!