is there way name of local function being run in matlab?
note: mfilename returns name of .m file, not name of local function.
dbstack returns struct full function call stack. information top level function, use:
s=dbstack fname=s(1).name is there way name of local function being run in matlab?
note: mfilename returns name of .m file, not name of local function.
dbstack returns struct full function call stack. information top level function, use:
s=dbstack fname=s(1).name
Comments
Post a Comment