Path: news.mathworks.com!newsfeed-00.mathworks.com!NNTP.WPI.EDU!elk.ncren.net!newsflash.concordia.ca!canopus.cc.umanitoba.ca!not-for-mail
From: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to increase the stack space available for MATLAB
Date: Fri, 18 Apr 2008 18:11:09 +0000 (UTC)
Organization: National Research Council Canada - Conseil national de rechereches Canada
Lines: 25
Message-ID: <fuao7t$2e$1@canopus.cc.umanitoba.ca>
References: <fu73eq$n6i$1@fred.mathworks.com> <fu7jr3$3e3$1@canopus.cc.umanitoba.ca> <fu903f$3ll$1@fred.mathworks.com>
NNTP-Posting-Host: origin.ibd.nrc.ca
X-Trace: canopus.cc.umanitoba.ca 1208542269 78 192.70.172.160 (18 Apr 2008 18:11:09 GMT)
X-Complaints-To: abuse@cc.umanitoba.ca
NNTP-Posting-Date: Fri, 18 Apr 2008 18:11:09 +0000 (UTC)
Originator: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Xref: news.mathworks.com comp.soft-sys.matlab:463940



In article <fu903f$3ll$1@fred.mathworks.com>,
Amogh Rajanna <amoevol@yahoo.co.in> wrote:
>The OS i am using is Windows Vista.
>2GB RAM.

>How to increase stack space available for MATLAB in Windows 
>Vista??

I don't know about Vista, but I found the following:

http://msdn2.microsoft.com/en-us/library/35yc2tc3(VS.80).aspx

That's the DOS/Windows command EDITBIN with the /STACK option.


Don't be surprised if it doesn't help at all. When your program
bombs out telling you your stack is too deep at -exactly- 500 levels,
you can be sure that the 500 number is programmed into Matlab, not just
chance that -exactly- 500 calls fit into the stack. And as best
I *recall*, Mathworks has said there is no way for the user to increase
the built-in recursion limit.
-- 
Q: Why did the chicken cross the Mobius strip?

A: There were manifold reasons.