problem with findpeaks in R2016a
조회 수: 5 (최근 30일)
이전 댓글 표시
The following works fine in R2015b, but not in R2016a (neither by live editor nor by command line)
[pks,locs,widths,proms]=findpeaks(A12ratio, x, 'MinPeakProminence', MPP);
In R2016a I get:
"Undefined function 'findpeaks' for input arguments of type 'double'."
Is this a known problem? Is there a workaround besides simply going back to using R2015b??
댓글 수: 0
답변 (2개)
Steven Lord
2016년 3월 30일
편집: Steven Lord
2016년 3월 30일
The findpeaks function is in Signal Processing Toolbox. It's possible you had this toolbox installed in your installation of release R2015b but don't have it installed in your installation of release R2016a.
댓글 수: 3
Steven Lord
2016년 3월 31일
In that case, if you're using a network license it's possible all the license keys for Signal Processing Toolbox are checked out right now. Your license administrator could check this for you (if they're not sure how, ask them to take a look at page 3-61 of the Installation Guide.)
Star Strider
2016년 3월 30일
You did install the Signal Processing Toolbox when you upgraded to R2016a, correct?
Assuming you did, my guess is that you have a path problem.
Try typing this from the Command Window (or embed it temporarily in your script):
restoredefaultpath
rehash toolboxcache
댓글 수: 6
Star Strider
2016년 4월 24일
When I looked through the Release Notes, findpeaks hasn’t changed in R2016a, so the worst of your situation is simply the inconvenience, if you also need some new functionality in R2016a.
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!