How to get a list of local functions in a MATLAB file?
17 views (last 30 days)
I would like to get a list of all local functions in a .m file. The localfunctions function does not work in the context of command window or other functions.
Is there a simpler way to achieve this apart from parsing through a file to find the local function names?
Star Strider on 5 Sep 2014
Here’s a list of search results of MATLAB online documentation that provides functions that list dependencies. Maybe one of these will work for you. I can’t be more specific because I don’t know what you’re looking for.
tommsch on 30 Nov 2020
Edited: tommsch on 30 Nov 2020