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: Thu, 17 Apr 2008 13:37:39 +0000 (UTC)
Organization: National Research Council Canada - Conseil national de rechereches Canada
Lines: 17
Message-ID: <fu7jr3$3e3$1@canopus.cc.umanitoba.ca>
References: <fu73eq$n6i$1@fred.mathworks.com>
NNTP-Posting-Host: origin.ibd.nrc.ca
X-Trace: canopus.cc.umanitoba.ca 1208439459 3523 192.70.172.160 (17 Apr 2008 13:37:39 GMT)
X-Complaints-To: abuse@cc.umanitoba.ca
NNTP-Posting-Date: Thu, 17 Apr 2008 13:37:39 +0000 (UTC)
Originator: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Xref: news.mathworks.com comp.soft-sys.matlab:463612



In article <fu73eq$n6i$1@fred.mathworks.com>,
Amogh Rajanna <amoevol@yahoo.co.in> wrote:
>I want to increase the maximum recursion limit but before 
>that i must increase the stack space available for MATLAB.
>Does anybody have an idea how to do it?

The method of increasing the stack space depends upon your
operating system, which you did not mention.

>Currently the maximum recursion limit is set to 500.

The recursion limit is built in to Matlab, independant of the
stack space. You are probably not running out of stack memory:
you are probably running into a built-in Matlab counter.
-- 
   "Any sufficiently advanced bug is indistinguishable from a feature."
   -- Rich Kulawiec