HOW TO CALL A FUNCTION IN ANOTHER MFILE FROM A MAIN PROGRAM

6 views (last 30 days)
In my project I need to extract dominant gray level features. For that how should I call the feature extraction function in another mfile from the main mfile

Answers (1)

Simon
Simon on 11 Sep 2013
Hi!
Place the function mfile in your path and give it the same name as the function inside. Take a look: http://www.mathworks.com/help/matlab/matlab_prog/create-functions-in-files.html

Categories

Find more on Statistics and Machine Learning Toolbox 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!