From help-request at octave dot org Sat Feb 5 11:46:00 2005 Subject: max_recursion_limit From: "John W. Eaton" To: brumen at hispeed dot ch Cc: help at octave dot org Date: Sat, 5 Feb 2005 12:50:25 -0500 On 5-Feb-2005, Gorazd Brumen wrote: | Hi everybody, | | I am new on the list. The question is: How to increase | max_recursion_limit in octave? I get an error: | | error: max_recursion_limit exceeded | | In matlab it is easy: set (...blabla..) Reset the built-in variable max_recursion_depth. octave:1> help max_recursion_depth max_recursion_depth is a built-in variable -- Built-in Variable: max_recursion_depth Limit the number of times a function may be called recursively. If the limit is exceeded, an error message is printed and control returns to the top level. The default value is 256. BTW, recursion in Octave is relatively slow. Are you sure you want to define a heavily recursive function? jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------