Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Figure window troubleshooting

Subject: Figure window troubleshooting

From: Brendan

Date: 29 Mar, 2010 14:13:24

Message: 1 of 8

Hi,
I've come across a strange error in Matlab. Every time I run my code, the plot that Im supposed to be generating comes up as a frozen window that just keeps expanding to the right of my screen. This seems to happen often, and then randomly the problem disappears and the plot is done correctly. Does anyone know the reason/solution to this? It seems to be some inherent bug or something that definitely has nothing to do with my code.
Thanks
Brendan

Subject: Figure window troubleshooting

From: ImageAnalyst

Date: 29 Mar, 2010 14:20:20

Message: 2 of 8

Brendan:
It has nothing to do with your code but it happens ONLY when you run
your code, and EVERY time you run your code. But you're sure it has
nothing whatsoever to do with your code. Hmmmm.... That's a tough
one. got me stumped.

Subject: Figure window troubleshooting

From: Brendan

Date: 29 Mar, 2010 14:28:08

Message: 3 of 8

ImageAnalyst <imageanalyst@mailinator.com> wrote in message <fb3a4caa-2b6d-4162-9504-6c02d0dfcd8a@z3g2000yqz.googlegroups.com>...
> Brendan:
> It has nothing to do with your code but it happens ONLY when you run
> your code, and EVERY time you run your code. But you're sure it has
> nothing whatsoever to do with your code. Hmmmm.... That's a tough
> one. got me stumped.
Yes, its definitely something else. My code was running fine yesterday and I havent changed anything to it all. I tried running a different file and the same thing happens. Has anyone come across this problem?

Subject: Figure window troubleshooting

From: Rob Campbell

Date: 29 Mar, 2010 16:04:24

Message: 4 of 8


> Yes, its definitely something else. My code was running fine yesterday and I havent changed anything to it all. I tried running a different file and the same thing happens. Has anyone come across this problem?

- What system are you using?
- Did you try exiting and re-starting Matlab and/or your whole OS?
- What is the minimum code needed to reproduce the problem?

Subject: Figure window troubleshooting

From: Walter Roberson

Date: 29 Mar, 2010 16:10:55

Message: 5 of 8

Brendan wrote:

> I've come across a strange error in Matlab. Every time I run my code,
> the plot that Im supposed to be generating comes up as a frozen window
> that just keeps expanding to the right of my screen. This seems to
> happen often, and then randomly the problem disappears and the plot is
> done correctly. Does anyone know the reason/solution to this? It seems
> to be some inherent bug or something that definitely has nothing to do
> with my code.

This may sound too strange to be true, but when you get random wacky
errors of that sort, the problem can possibly be in either your keyboard
or mouse. Low batteries in a mouse can cause the mouse to spontaneously
emit noise that the active program reacts to. With roller mice, gunk in
the rollers or on the ball, or bent rollers, can lead to similar problems.

Subject: Figure window troubleshooting

From: Rob Campbell

Date: 29 Mar, 2010 16:27:07

Message: 6 of 8


> This may sound too strange to be true, but when you get random wacky
> errors of that sort, the problem can possibly be in either your keyboard
> or mouse. Low batteries in a mouse can cause the mouse to spontaneously
> emit noise that the active program reacts to. With roller mice, gunk in
> the rollers or on the ball, or bent rollers, can lead to similar problems.

I've seen stuff like that too, but making a window expand?

Subject: Figure window troubleshooting

From: ImageAnalyst

Date: 29 Mar, 2010 16:37:32

Message: 7 of 8

On Mar 29, 10:28 am, "Brendan " <c_uboi...@hotmail.co.uk> wrote:
> Yes, its definitely something else. My code was running fine yesterday and I havent changed anything to it all. I tried running a different file and the same thing happens. Has anyone come across this problem?
--------------------------------------------------------------------------------
So it happens with other m-files that you run, too? Some questions:
1. Does the title bar of this mysterious window say anything?
2. Does the window have anything in it, or is it just all white?
3. What to you mean by "frozen" and is "frozen" a contradiction with
"expanding"? Apparently it's not the size that is frozen, so what,
exactly, is frozen?
4. Have you called the Mathworks for help? Or haven't you paid the
maintenance agreement?
5. What version are you using? Have you tried upgrading to R2010a to
see if the problem goes away?

Subject: Figure window troubleshooting

From: Rob Campbell

Date: 29 Mar, 2010 17:23:08

Message: 8 of 8


> This may sound too strange to be true, but when you get random wacky
> errors of that sort, the problem can possibly be in either your keyboard
> or mouse. Low batteries in a mouse can cause the mouse to spontaneously
> emit noise that the active program reacts to. With roller mice, gunk in
> the rollers or on the ball, or bent rollers, can lead to similar problems.

I've seen stuff like that too, but making a window expand?

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us