Pack

I am trying to run an experiment that requires a lot of memory
(generating colored stimuli on each trial). I am trying to use the
Pack function to free up space but it is crashing my program even
although it works fine when I put the same code directly in the
command window. I suspect its because it is moving on to the next
part of the program code before completing the Pack command so all of
the variables are not restored in the workspace. Is there anyway
round this?

Liza
--
Liza Paul
Psychology Department
University of Glasgow
58 Hillhead Street
Glasgow

liza@...
http://www.psy.gla.ac.uk/people/details.asp?ID=liza
Hi Liza: I'd recommend just getting more memory. Memory's really cheap
these days. We run experiments in which we generate several thousand
off-screen windows. We allocate between 500 Mb and 800 Mb to matlab, and
have no memory problems.

regards, Geoff Loftus

Geoffrey R. Loftus, PhD
Department of Psychology Office: (206) 543-8874
University of Washington Home: (206) 547-6969
Seattle, WA 98195 Fax: (206) 685-3157

Web Site: http://faculty.washington.edu/gloftus


On Tue, 11 Jun 2002, Liza Paul wrote:

> I am trying to run an experiment that requires a lot of memory
> (generating colored stimuli on each trial). I am trying to use the
> Pack function to free up space but it is crashing my program even
> although it works fine when I put the same code directly in the
> command window. I suspect its because it is moving on to the next
> part of the program code before completing the Pack command so all of
> the variables are not restored in the workspace. Is there anyway
> round this?
>
> Liza
> --
> Liza Paul
> Psychology Department
> University of Glasgow
> 58 Hillhead Street
> Glasgow
>
> liza@...
> http://www.psy.gla.ac.uk/people/details.asp?ID=liza
>
>
> http://psychtoolbox.org
> POST a message to: psychtoolbox@yahoogroups.com
> UNSUBSCRIBE by sending a blank message to:
> psychtoolbox-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>