Hello I'm using Matlab 2017a on macOS 10.12.6. I wanted to use findpeaks function so I clean installed Matlab together with the Signal Processing Toolbox. Then I checked the examples for findpeaks function in the documentation and it works fine. But the moment I use startup.m file to start the Matlab session from another folder, the same example for findpeaks doesn't work and the use of command findpeaks(data) returns an empty matrix. Does anyone has any idea about what is this problem and how could this be fixed?
MATLAB: Findpeaks doesn’t work with a different startup folder
findpeaksstartup.m
Related Question
- I receive these warning messages? Could you give me a hand, please
- Error message – plot function
- Why I receive message like this”Warning: Function ishermitian has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict” in Matlab 2014
- Print command erroring with ‘Undefined function or method ‘findprop’ for input arguments of type ‘struct’.’
Best Answer