MATLAB Answers

Why do questdlg & plot suddenly become very slow? Need to wait more than 5 minutes

8 views (last 30 days)
Albert Bing
Albert Bing on 26 May 2021
Edited: Jan on 28 May 2021
A simple questdlg cost more than 5 minites to show the contents. The window shows, but without title, prompt, or buttons until more than 5 minutes. Meanwhile MATLAB is busy, cost about 13% CPU(Intel i7-7700@3.6GHz, 8GB RAM). I reboot MATLAB and reboot the OS, but nothing changed.
Plotting some simple vector, a blank figure shows but data shows after several minutes.
Seems like the figure command goes wrong? But runing a GUI program I wrote is quite normal, figure showing quickly.
Are there some settings accidently changed? Do I have to reinstall MATLAB?

Accepted Answer

Jan
Jan on 26 May 2021
Edited: Jan on 28 May 2021
Try to use the profiler to find out, where the time is spent. I assume there is a problem with the graphics driver. Did you update it recently?
  1 Comment
Albert Bing
Albert Bing on 28 May 2021
I uninstalled and reinstalled the same graphics driver, and it seems OK now, thought the font I installed rendering a little unnormal.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!