I'm trying to get the names of inputs and outputs of a function that I've defined while outside the function. In other words, I can't make any change inside the function. I could not find any built-in function that does this. Is there a function that gives details or summary of a function.
For example, myfunc.m
file is like below and I'm calling this function in another script.
function [out1, out2] = myfunc(input1, input2, input3)
operations
end
I need to get the strings 'out1', 'out2', 'input1', 'input2', 'input3'
I'm using Matlab R2018a.