How to use MATLAB toolbox function which has the same name of a user defined function

后端 未结 2 882
天命终不由人
天命终不由人 2021-01-14 12:18

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

2条回答
  •  攒了一身酷
    2021-01-14 13:02

    I just came here looking for the same thing... I ended up using builtin. https://uk.mathworks.com/help/matlab/ref/builtin.html

    [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.

提交回复
热议问题