Terminates Scilab or decreases the pause level (original) (raw)
Scilab 5.3.3
- Scilab 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 2026.0.1. This page might be outdated.
See the recommended documentation of this function
Scilab help >> Scilab > quit
quit
Terminates Scilab or decreases the pause level
Calling Sequence
Description
The quit command has two different meanings depending on the calling context:
If there is no pause active,
then thequit command makes Scilab terminate, even if the command is called inside a function.
If there is a pause active,
then thequit command makes aborts the instructions started at this pause level ando terminates the current pause level.
Examples
function foo(x),if x then quit,end,endfunction foo(%t)
function foo(x),if x then quit,end,endfunction pause foo(%t)
function foo1(x), mprintf('P1\n') if x then pause, mprintf('P2\n'),end, mprintf('P3\n') endfunction
foo1(%t)
See Also
- pause — pause mode, invoke keyboard
- break — keyword to interrupt loops
- abort — interrupt evaluation.
- exit — Ends the current Scilab session