Function findpeaks freezes Matlab
Show older comments
I have an issue with the function findpeaks from the signal processing toolbox. Suddenly, it stopped working and each time it is run, it freezes Matlab (2017b, 2018a). The codes work fine on another machine. Reinstallation of the toolbox/Matlab software doesn't help. Would be grateful for any ideas what happened!
6 Comments
Honglei Chen
on 4 Jun 2018
Is it possible some other custom function with the same name is masking it? Could you check
which findpeaks
and see if it still points to the toolbox version?
HTH
Joanna Dzoadkowiec
on 4 Jun 2018
Greg Dionne
on 4 Jun 2018
Does it happen when you assign a result, or only when you call it without arguments (making a plot)? Also, how big is the input vector?
Joanna Dzoadkowiec
on 4 Jun 2018
Chris Turnes
on 4 Jun 2018
Can you post the data set that you are using? This may help us to reproduce the issue.
Joanna Dzoadkowiec
on 4 Jun 2018
Answers (1)
Pengfei Chen
on 31 Oct 2018
1 vote
change your default printer under control panel will fix this problem.
1 Comment
Michele Facchinelli
on 14 Feb 2019
Edited: Michele Facchinelli
on 14 Feb 2019
Another customer has reported that this step does indeed work.
The issue seems to be related to the printer settings. These other steps may be useful:
Please re-install your printer drivers to the newest version. If this still does not work please try these other workarounds:
- Remove the printer from your list of devices in your control panel. The printer would be located in the Devices and Printers control panel for most Windows OS's.
- End the print spooler/driver process inside of your Task manager and start MATLAB.
- Change your default printer to another printer, or to the generic printer that Windows automatically creates.
Categories
Find more on Spectral Estimation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!