Info

This question is closed. Reopen it to edit or answer.

How can I quickly know if all my functions are in the directory

1 view (last 30 days)
Dear all, I developed a code with different function I created in a specific directory. Then, I save my main code (containing the calls of my function) in a other directory. I would like to know if there is a quick way to know if all my functions are in the new directory. The problem is that I can not run the code to test it (it has to be run at a specific time). Thank you in advance
  1 Comment
UJJWAL
UJJWAL on 4 Sep 2013
Why don't you simply put all the functions in the same directory or add the necessary paths to your code to avoid such issues.
Your question is more concerned with poor programming practice.
One way of knowing is to open the main function and then trying to open the called functions by right clicking on them

Answers (2)

Ilham Hardy
Ilham Hardy on 4 Sep 2013
Edited: Ilham Hardy on 4 Sep 2013
By using depfun(), perhaps?

Image Analyst
Image Analyst on 4 Sep 2013

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!