I am having a problem with the findpeaks function, this function is in the signal processing toolbox and also the program has another version of it (user define
findpeaks
I just came here looking for the same thing... I ended up using builtin. https://uk.mathworks.com/help/matlab/ref/builtin.html
builtin
[y1,...,yn] = builtin(function,x1,...,xn)
@arr_sea actually posted a link in one of the folded comments which uses this function in a different context.