How can I publish all the sub-functions, sub-sub-functions, etc. into a single html/pdf file?

I have a function, which is dependent on some user-defined functions, which in turn are dependent on some other user-defined functions and so on. Is there a way in which I can publish all the dependent functions along with the main function into a html/pdf file? (Note: It should show one function only once even if it has been used multiple time, such as in loops or recursively.)

Answers (1)

4 Comments

I tried this already. This includes only the first level of dependent functions. But what I want is to include all the sub-functions, sub-sub-functions, and so on. I don't know how can I use the code suggested by you to get this. Any suggestion is greatly appreciated.
Modify it to support further nesting :).
Unfortunately I don't have a better answer for you at this time.

Sign in to comment.

Categories

Asked:

on 16 Dec 2013

Commented:

on 16 Dec 2013

Community Treasure Hunt

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

Start Hunting!