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:
Slow refresh of Matlab windows

Subject: Slow refresh of Matlab windows

From: ke

Date: 30 Jun, 2010 16:01:28

Message: 1 of 7

Often when I am running Matlab, it freezes for a couple of minutes. I
can't enter commands and the various Matlab windows (figures, desktop,
etc) either go blank or contain 'screenshots' of whatever is on my
Windows desktop. After several minutes, Matlab refreshes its windows
and I can enter commands again. This occurs when I am doing simple
tasks such as making a line plot or editing an mfile. I am running
R2010a on Windows XP; we have a slow internet connection but I have
several drives mounted on my Matlab path. Any idea why Matlab is
freezing?

Subject: Slow refresh of Matlab windows

From: darthshak

Date: 2 Jul, 2010 11:42:46

Message: 2 of 7

Its possible that the memory is full, and somehow MATLAB wound up being relegated to the page file memory?

Try seeing the memory consumption stats while you're running MATLAB.

Vishaka

Subject: Slow refresh of Matlab windows

From: ke

Date: 7 Jul, 2010 16:37:42

Message: 3 of 7

On Jul 2, 7:42 am, darthshak <vishakada...@gmail.com> wrote:
> Its possible that the memory is full, and somehow MATLAB wound up being relegated to the page file memory?
>
> Try seeing the memory consumption stats while you're running MATLAB.
>
> Vishaka

I don't see anything odd in the output of 'memory'. Is there another
way to check?
Maximum possible array: 513 MB (5.376e+008 bytes) *
Memory available for all arrays: 1218 MB (1.277e+009 bytes) **
Memory used by MATLAB: 488 MB (5.117e+008 bytes)
Physical Memory (RAM): 3572 MB (3.745e+009 bytes)

* Limited by contiguous virtual address space available.
** Limited by virtual address space available.

Subject: Slow refresh of Matlab windows

From: Jason

Date: 23 Jul, 2010 12:18:05

Message: 4 of 7

I recently updated my lab computer to R2010a from R2009a (WinXP) recently and I'm experiencing the same issues. After rebooting my machine, starting Matlab and running minor GUIs (which I used to be able to run for hours and hours on 2009a) after a few minutes Matlab bogs down.

Subject: Slow refresh of Matlab windows

From: Robert

Date: 23 Jul, 2010 12:52:26

Message: 5 of 7

ke <kateedwards11@hotmail.com> wrote in message <bfa6e05a-61b3-470a-a48e-0350cbc0753f@g19g2000yqc.googlegroups.com>...
> Often when I am running Matlab, it freezes for a couple of minutes. I
> can't enter commands and the various Matlab windows (figures, desktop,
> etc) either go blank or contain 'screenshots' of whatever is on my
> Windows desktop. After several minutes, Matlab refreshes its windows
> and I can enter commands again. This occurs when I am doing simple
> tasks such as making a line plot or editing an mfile. I am running
> R2010a on Windows XP; we have a slow internet connection but I have
> several drives mounted on my Matlab path. Any idea why Matlab is
> freezing?

I've seen Matlab freeze for a few minutes (Matlab on Windows, license on LINUX server) when it is having trouble connecting (talking) to the license server - could this be your problem?

Subject: Slow refresh of Matlab windows

From: ke

Date: 23 Jul, 2010 20:19:52

Message: 6 of 7

Found the issue: I am accessing directories containing many matfiles
(6000+). Even just changing to that directory triggers the 5 minute
freeze. Guess pulling up the file list (even if I'm not using it) is
too taxing. If anyone knows a solution, I'd be interested.

Subject: Slow refresh of Matlab windows

From: M

Date: 4 Feb, 2011 12:18:03

Message: 7 of 7

I have experienced the same problem, since a updated to Matlab R 2010a. It mainly occurs when working with figures. The predecessor version was way much faster in this respect.

Tags for 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