MATLAB Answers

Jan
3

Matlab 2016b command is black after Windows Update

Asked by Jan
on 10 Aug 2017
Latest activity Edited by Jan
on 4 Sep 2017
Accepted Answer by Jan
After installing KB4034664 in the last days (10-Aug-2017), the contents of Matlab's command window is not displayed anymore: it is either black or transparent, such that I can see the windows behind it. Only the border of the window is shown. Matlab is working: I can type in commands and run code, but cannot see anything in the command window.
This is most likely a problem with the drivers of my NVIDIA GT730 graphics drivers and a dual monitor setup, and not of Matlab, but it does not occur in any other application.
The solution is trivial, but perhaps it is useful for somebody, who did not find the reason of the problems: Uninstall KB4034664

  4 Comments

Show 1 older comment
I have also experienced this. Instead of black, I get the desktop background peeking through, with only the outline of the window showing.
If I click in the area that would have been the terminal window, I can type commands and copy and paste results, but the screen doesn't update or only blurs around the desktop background image. I can also type "doc" and get a second window, which also appears to be empty/transparent, but can be moved around separate from the main MATLAB window.
Essentially, it seems tied to the display process other functionality seems to work.
My workaround was the same. Do a system restore just prior to KB4034664.
@Akhilesh Thakur: See my pseudo-answer.
@JanSimon
  • KB4034664 causes trouble for many different programs when working on a second screen and is not limited to a specific display driver, just search the internet.For me, it is MATLAB R2014a on Windows 7 (32 bit) with a Mobile Intel 4 Series Express Chipset Family. Uninstalling KB4034664 solves the problem.
  • Thank you very much for your post. Please do not delete it, as some people might try to install (old versions of) this update later on.
  • Note the naming similarity to the now infamous update KB2952664.

Sign in to comment.

4 Answers

Answer by Jan
on 22 Aug 2017
Edited by Jan
on 4 Sep 2017
 Accepted Answer

Summary of possible solutions:
  • Uninstall KB4034664
  • Enable an Aero theme in Windows
  • Set the main monitor to the left to avoid negative screen coordinates

  0 Comments

Sign in to comment.


Answer by Jan
on 11 Aug 2017

I did not take a screen shot early enough, because I was sure to found the solution after the uninstalling was successful. But here is a manually created image of how it looks like
instead of:
Sometimes I saw the windows of desktop image instead of the black area as mdl241. The problem concerned the editor windows also, when it was opened on the second monitor.

  0 Comments

Sign in to comment.


Answer by mdl241
on 14 Aug 2017

The workaround from the MathWorks helpdesk is to set your Windows theme to enable Aero. This works for me. I either have to do this or run MATLAB from my primary monitor.

  1 Comment

Perfect, this fixed it! Thanks.

Sign in to comment.


Answer by Tom
on 14 Aug 2017

I am also having an issue almost identical to this that began sometime in the last week since I used Matlab last (note: I am running Matlab 2016a).
Essentially, the Matlab program as a whole does not graphically "update" when it is in my secondary monitor. For instance, if I type something (in a script, command window, etc.), nothing appears. If I move Matlab to my primary monitor, the new text will appear after any "refreshing" action (i.e. typing something more, maximizing the window). All issues are limited to occurring only when Matlab is in my secondary monitor.

  0 Comments

Sign in to comment.