MATLAB: How to read in names of function input arguments as strings

strings

Is there any way I can read in the names of input arguments of function m-files as strings? I have a function m-file: function ([inarg1 inarg2 inarg3]) … I need the names of the input arguments to display in the output plot. Thanks!

Best Answer

doc inputname