Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - 日本語 - Русский

Please note that the recommended version of Scilab is 6.0.1. This page might be outdated.
However, this page did not exist in the previous stable version.

Scilab Help >> Scilab > Configuration > gstacksize

gstacksize

set/get scilab global stack size

Calling Sequence

gstacksize(n)
gstacksize('max')
gstacksize('min')
sz=gstacksize()

Arguments

n

integer, the required global stack size given in number of double precision words

sz

2-vector [total used]

Description

Scilab stores global variables in a stack.

gstacksize(n) allows the user to increase or decrease the size of this stack. The maximum allowed size depends on the amount of free memory and swap space available at the time.

Note that Scilab can increase automatically the global stacksize when needed.

sz=gstacksize() returns a 2-vector which contains the current total and used global stack size.

gstacksize('max') allows the user to increase the size of this global stack to the maximum.

gstacksize('min') allows the user to decrease the size of this global stack to the minimum.

Examples

currentStackSize = gstacksize();
disp("Maximum stacksize: " + string(currentStackSize(1)))
disp("Current usage: "+ string(currentStackSize(2)))

See Also

  • who — listing of variables
  • stacksize — set scilab stack size
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Apr 01 10:13:49 CEST 2015