Function findpeaks freezes Matlab

1 view (last 30 days)
Joanna Dzoadkowiec
Joanna Dzoadkowiec on 4 Jun 2018
Edited: Michele Facchinelli on 14 Feb 2019
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
Chris Turnes
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
Joanna Dzoadkowiec on 4 Jun 2018
Thanks everyone for help. Seems it was some issue with printer connection. After 30 minutes of running findpeaks, Matlab displayed that message:
Warning: Printer startup is taking a long time. Check whether your default printer is online. Or set your
default printer to print to PDF.

Sign in to comment.

Answers (1)

Pengfei Chen
Pengfei Chen on 31 Oct 2018
change your default printer under control panel will fix this problem.
  1 Comment
Michele Facchinelli
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:
  1. 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.
  2. End the print spooler/driver process inside of your Task manager and start MATLAB.
  3. Change your default printer to another printer, or to the generic printer that Windows automatically creates.

Sign in to comment.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!