- Scilab Online Help
- Scilab
- Scilab keywords
- TMPDIR
- abort
- add_demo
- argn
- banner
- boolean
- break
- clear
- clearfun
- clearglobal
- comp
- continue
- debug
- delbpt
- dispbpt
- edit
- errcatch
- errclear
- error
- error_table
- exists
- exit
- external
- extraction
- format
- funcprot
- funptr
- getdebuginfo
- getmd5
- getmemory
- getmodules
- getos
- getscilabmode
- getshell
- getvariablesonstack
- getversion
- gstacksize
- ieee
- insertion
- intppty
- inv_coeff
- iserror
- isglobal
- lasterror
- macr2lst
- macr2tree
- matrices
- matrix
- mode
- mtlb_mode
- names
- newfun
- null
- pause
- perl
- poly
- predef
- quit
- rational
- readgateway
- resume
- sciargs
- scilab
- setbpt
- stacksize
- startup
- symbols
- testmatrix
- type
- typename
- user
- varn
- ver
- warning
- what
- where
- whereami
- who
- who_user
- whos
- with_atlas
- with_javasci
- with_macros_source
- with_module
- with_pvm
- with_texmacs
- with_tk
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.
stacksize
set scilab stack size
Calling Sequence
stacksize(n) stacksize('max') stacksize('min') sz=stacksize()
Arguments
- n
integer, the required stack size given in number of double precision words
- sz
2-vector [total used]
Description
Scilab stores "usual" variables in a stack stk
(for global variables see gstacksize
).
stacksize(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.
stacksize('max')
allows the user to increase the size of
this stack to the maximum.
stacksize('min')
allows the user to decrease the size of
this stack to the minimum.
This function with the n
argument can now be used everywhere.
sz=stacksize()
returns a 2-vector which contains the current
total and used stack size.
On 64 bit platforms, maximum size of the stack is limited to 268435454.
See Also
<< setbpt | Scilab | startup >> |